From 725e35b306b80995e7072683b546e88ea2446965 Mon Sep 17 00:00:00 2001 From: Juraj Smiesko <34742917+kjvbrt@users.noreply.github.com> Date: Thu, 22 Feb 2024 10:47:22 +0100 Subject: [PATCH] Remove the deprecated lcdd() from GeoSvc Interface (#176) --- k4Interface/include/k4Interface/IGeoSvc.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/k4Interface/include/k4Interface/IGeoSvc.h b/k4Interface/include/k4Interface/IGeoSvc.h index dc84be87..24f6105f 100644 --- a/k4Interface/include/k4Interface/IGeoSvc.h +++ b/k4Interface/include/k4Interface/IGeoSvc.h @@ -32,11 +32,10 @@ class G4VUserDetectorConstruction; class GAUDI_API IGeoSvc : virtual public IService { public: DeclareInterfaceID(IGeoSvc, 1, 0); - virtual dd4hep::DetElement getDD4HepGeo() = 0; - [[deprecated("Use getDetector() instead")]] virtual dd4hep::Detector* lcdd() = 0; - virtual dd4hep::Detector* getDetector() = 0; - virtual G4VUserDetectorConstruction* getGeant4Geo() = 0; - virtual std::string constantAsString(std::string const& name) = 0; + virtual dd4hep::DetElement getDD4HepGeo() = 0; + virtual dd4hep::Detector* getDetector() = 0; + virtual G4VUserDetectorConstruction* getGeant4Geo() = 0; + virtual std::string constantAsString(std::string const& name) = 0; virtual ~IGeoSvc() {} };