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 8c6107f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Geometry/CaloGeometry/interface/CaloVGeometryLoader.h
Expand Up @@ -13,6 +13,7 @@ class CaloSubdetectorGeometry;
class CaloVGeometryLoader
{
public:
virtual ~CaloVGeometryLoader() = default;
/// Load the subdetector geometry for the specified det and subdet
virtual std::auto_ptr<CaloSubdetectorGeometry>
load( DetId::Detector det, int subdet ) = 0;
Expand Down
Expand Up @@ -11,6 +11,7 @@ class DDFilteredView;
*/
class CmsTrackerAbstractConstruction{
public:
virtual ~CmsTrackerAbstractConstruction() = default;
virtual void build(DDFilteredView& , GeometricDet*, std::string) = 0;

};
Expand Down

0 comments on commit 8c6107f

Please sign in to comment.