Skip to content

Commit

Permalink
fix: IGeoSvc::lcdd() pure virtual removed upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
wdconinc committed Feb 24, 2024
1 parent 574f674 commit 25fbe78
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion JugBase/src/components/GeoSvc.h
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ class GeoSvc : public extends<Service, IGeoSvc> {
* <a href="https://dd4hep.web.cern.ch/dd4hep/reference/classdd4hep_1_1Detector.html">See DD4hep Detector documentation</a>
*/
virtual dd4hep::Detector* getDetector() override;
virtual dd4hep::Detector* lcdd() override {
[[deprecated("Use getDetector() instead")]]
virtual dd4hep::Detector* lcdd() {
return getDetector();
};
virtual G4VUserDetectorConstruction* getGeant4Geo() override {
Expand Down

0 comments on commit 25fbe78

Please sign in to comment.