Skip to content

Commit

Permalink
Merge pull request #19021 from gartung/Geometry-gcc700-dtor-warning-fix
Browse files Browse the repository at this point in the history
Geometry : fix gcc700 warning: class  has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor]
  • Loading branch information
cmsbuild committed Jun 1, 2017
2 parents 20842c5 + 8c6107f commit d096b6a
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 d096b6a

Please sign in to comment.