Skip to content

Commit

Permalink
Merge pull request #18924 from gartung/SimG4-gcc700-dtor-warning-fix
Browse files Browse the repository at this point in the history
SimG4 : fix gcc700 warning: class  has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor]
  • Loading branch information
cmsbuild committed May 27, 2017
2 parents 82967c7 + c5eb0b1 commit 1c15b36
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions SimG4CMS/Tracker/interface/FakeFrameRotation.h
Expand Up @@ -13,6 +13,7 @@
class FakeFrameRotation : public FrameRotation
{
public:
virtual ~FakeFrameRotation() = default;
virtual Local3DPoint transformPoint(Local3DPoint &,G4VPhysicalVolume *) const;
};

Expand Down
1 change: 1 addition & 0 deletions SimG4CMS/Tracker/interface/StandardFrameRotation.h
Expand Up @@ -13,6 +13,7 @@
class StandardFrameRotation : public FrameRotation
{
public:
virtual ~StandardFrameRotation() = default;
virtual Local3DPoint transformPoint(Local3DPoint &,G4VPhysicalVolume *) const;
};

Expand Down
1 change: 1 addition & 0 deletions SimG4CMS/Tracker/interface/TrackerFrameRotation.h
Expand Up @@ -13,6 +13,7 @@
class TrackerFrameRotation : public FrameRotation
{
public:
virtual ~TrackerFrameRotation() = default;
virtual Local3DPoint transformPoint(Local3DPoint &,G4VPhysicalVolume *) const;
};

Expand Down
1 change: 1 addition & 0 deletions SimG4Core/SensitiveDetector/interface/FrameRotation.h
Expand Up @@ -9,6 +9,7 @@
class FrameRotation
{
public:
virtual ~FrameRotation() = default;
virtual Local3DPoint transformPoint(Local3DPoint &,G4VPhysicalVolume *) const = 0;
};

Expand Down

0 comments on commit 1c15b36

Please sign in to comment.