diff --git a/python/templates/Collection.h.jinja2 b/python/templates/Collection.h.jinja2 index 8263506fc..780d004b3 100644 --- a/python/templates/Collection.h.jinja2 +++ b/python/templates/Collection.h.jinja2 @@ -73,10 +73,6 @@ public: /// Print this collection to the passed stream void print(std::ostream& os=std::cout, bool flush=true) const final; - /// operator to allow pointer like calling of members a la LCIO - [[deprecated("Use of operator->() is deprecated. Use . instead.")]] - {{ class.bare_type }}Collection* operator->() { return static_cast<{{ class.bare_type }}Collection*>(this); } - /// Append a new object to the collection, and return this object. Mutable{{ class.bare_type }} create();