Skip to content

Commit

Permalink
fix gcc700 warning: class has virtual functions and accessible non-vi…
Browse files Browse the repository at this point in the history
…rtual destructor [-Wnon-virtual-dtor]
  • Loading branch information
gartung committed May 24, 2017
1 parent 09f887d commit c5eb0b1
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 c5eb0b1

Please sign in to comment.