diff --git a/DetectorDescription/GeoModel/GeoModelExamples/src/CentralScrutinizer.h b/DetectorDescription/GeoModel/GeoModelExamples/src/CentralScrutinizer.h index 4b08feb084e0fa3356baffb5ccc155e8fafa3256..965152d5020c385f6b4450ad7d6f61233335b7a5 100755 --- a/DetectorDescription/GeoModel/GeoModelExamples/src/CentralScrutinizer.h +++ b/DetectorDescription/GeoModel/GeoModelExamples/src/CentralScrutinizer.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration + Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration */ #ifndef CentralScrutinizer_h @@ -10,7 +10,7 @@ #include "Identifier/Identifier.h" #endif -class CentralScrutinizer : public GeoVDetectorElement +class CentralScrutinizer final : public GeoVDetectorElement { public: CentralScrutinizer(const GeoVFullPhysVol *fullPhysVol); diff --git a/DetectorDescription/GeoModel/GeoModelExamples/src/ForwardScrutinizer.h b/DetectorDescription/GeoModel/GeoModelExamples/src/ForwardScrutinizer.h index e9ad0b340a87152cb63648526ed35fbcde17f99b..ab22e33ec5f4741a61daa435291cdf8db173fcee 100755 --- a/DetectorDescription/GeoModel/GeoModelExamples/src/ForwardScrutinizer.h +++ b/DetectorDescription/GeoModel/GeoModelExamples/src/ForwardScrutinizer.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration + Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration */ #ifndef ForwardScrutinizer_h @@ -10,7 +10,7 @@ #include "Identifier/Identifier.h" #endif -class ForwardScrutinizer : public GeoVDetectorElement +class ForwardScrutinizer final : public GeoVDetectorElement { public: ForwardScrutinizer(const GeoVFullPhysVol *fullPhysVol); diff --git a/DetectorDescription/GeoModel/GeoModelExamples/src/ToyDetectorTool.h b/DetectorDescription/GeoModel/GeoModelExamples/src/ToyDetectorTool.h index 029f63c49fc934d79f34adf4daa86d2f245aeecb..bcc2c2a1992202deb5defb8a3845d00a09fa909f 100755 --- a/DetectorDescription/GeoModel/GeoModelExamples/src/ToyDetectorTool.h +++ b/DetectorDescription/GeoModel/GeoModelExamples/src/ToyDetectorTool.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration + Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration */ #ifndef GEOMODELEXAMPLES_TOYDETECTORTOOL_H @@ -10,7 +10,7 @@ #include "GeoModelUtilities/GeoModelTool.h" #include "GeoModelKernel/GeoPVConstLink.h" -class ToyDetectorTool : public GeoModelTool +class ToyDetectorTool final : public GeoModelTool { public: ToyDetectorTool( const std::string& type, const std::string& name, const IInterface* parent );