From 1747d9dbca2786c4f9b434169f754a82eb8c1955 Mon Sep 17 00:00:00 2001 From: jmcarcell Date: Tue, 29 Jul 2025 21:48:02 +0200 Subject: [PATCH] Remove the deprecated operator-> in collections --- python/templates/Collection.h.jinja2 | 4 ---- 1 file changed, 4 deletions(-) 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();