From 25fbe78c2d8a81521d96dfa39e02ff728e58c3f2 Mon Sep 17 00:00:00 2001 From: Wouter Deconinck Date: Sat, 24 Feb 2024 08:35:14 -0600 Subject: [PATCH] fix: IGeoSvc::lcdd() pure virtual removed upstream --- JugBase/src/components/GeoSvc.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/JugBase/src/components/GeoSvc.h b/JugBase/src/components/GeoSvc.h index 19d9df9..a114997 100644 --- a/JugBase/src/components/GeoSvc.h +++ b/JugBase/src/components/GeoSvc.h @@ -72,7 +72,8 @@ class GeoSvc : public extends { * See DD4hep Detector documentation */ virtual dd4hep::Detector* getDetector() override; - virtual dd4hep::Detector* lcdd() override { + [[deprecated("Use getDetector() instead")]] + virtual dd4hep::Detector* lcdd() { return getDetector(); }; virtual G4VUserDetectorConstruction* getGeant4Geo() override {