diff --git a/SimG4CMS/Tracker/interface/FakeFrameRotation.h b/SimG4CMS/Tracker/interface/FakeFrameRotation.h index a6b8fddf2ce3f..6288683c6a333 100644 --- a/SimG4CMS/Tracker/interface/FakeFrameRotation.h +++ b/SimG4CMS/Tracker/interface/FakeFrameRotation.h @@ -13,6 +13,7 @@ class FakeFrameRotation : public FrameRotation { public: + virtual ~FakeFrameRotation() = default; virtual Local3DPoint transformPoint(Local3DPoint &,G4VPhysicalVolume *) const; }; diff --git a/SimG4CMS/Tracker/interface/StandardFrameRotation.h b/SimG4CMS/Tracker/interface/StandardFrameRotation.h index c7a782313b193..c3a1a055c7ec9 100644 --- a/SimG4CMS/Tracker/interface/StandardFrameRotation.h +++ b/SimG4CMS/Tracker/interface/StandardFrameRotation.h @@ -13,6 +13,7 @@ class StandardFrameRotation : public FrameRotation { public: + virtual ~StandardFrameRotation() = default; virtual Local3DPoint transformPoint(Local3DPoint &,G4VPhysicalVolume *) const; }; diff --git a/SimG4CMS/Tracker/interface/TrackerFrameRotation.h b/SimG4CMS/Tracker/interface/TrackerFrameRotation.h index ea2cc70996d17..5b17a7ff0bdcd 100644 --- a/SimG4CMS/Tracker/interface/TrackerFrameRotation.h +++ b/SimG4CMS/Tracker/interface/TrackerFrameRotation.h @@ -13,6 +13,7 @@ class TrackerFrameRotation : public FrameRotation { public: + virtual ~TrackerFrameRotation() = default; virtual Local3DPoint transformPoint(Local3DPoint &,G4VPhysicalVolume *) const; }; diff --git a/SimG4Core/SensitiveDetector/interface/FrameRotation.h b/SimG4Core/SensitiveDetector/interface/FrameRotation.h index 6c60136c59c51..95944ca398e6e 100644 --- a/SimG4Core/SensitiveDetector/interface/FrameRotation.h +++ b/SimG4Core/SensitiveDetector/interface/FrameRotation.h @@ -9,6 +9,7 @@ class FrameRotation { public: + virtual ~FrameRotation() = default; virtual Local3DPoint transformPoint(Local3DPoint &,G4VPhysicalVolume *) const = 0; };