From 4a90dc9e2f24729b4945b9907fd984c8d994fe7c Mon Sep 17 00:00:00 2001 From: scott snyder <sss@karma> Date: Tue, 30 Jun 2020 16:35:37 +0200 Subject: [PATCH] LArGeoAlgsNV: Fix clang10 warning. LArDetectorToolNV has a final dtor, so the class itself should also be declared final. --- LArCalorimeter/LArGeoModel/LArGeoAlgsNV/src/LArDetectorToolNV.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LArCalorimeter/LArGeoModel/LArGeoAlgsNV/src/LArDetectorToolNV.h b/LArCalorimeter/LArGeoModel/LArGeoAlgsNV/src/LArDetectorToolNV.h index 7ed6d07038b..14adf407cca 100755 --- a/LArCalorimeter/LArGeoModel/LArGeoAlgsNV/src/LArDetectorToolNV.h +++ b/LArCalorimeter/LArGeoModel/LArGeoAlgsNV/src/LArDetectorToolNV.h @@ -23,7 +23,7 @@ class LArDetectorManager; align() which applies misalignments on top of the 'regular' geometry. */ -class LArDetectorToolNV : public GeoModelTool { +class LArDetectorToolNV final : public GeoModelTool { public: // Standard Constructor LArDetectorToolNV( const std::string& type, const std::string& name, const IInterface* parent ); -- GitLab