From 873c956f3e5ac12ee76bd4331a4674a46422e73f Mon Sep 17 00:00:00 2001 From: John Chapman <jchapman@cern.ch> Date: Wed, 15 Jul 2020 13:10:39 +0200 Subject: [PATCH] Remove self-include from Geo2G4AssemblyFactory.h --- .../G4Utilities/Geo2G4/src/Geo2G4AssemblyFactory.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Simulation/G4Utilities/Geo2G4/src/Geo2G4AssemblyFactory.h b/Simulation/G4Utilities/Geo2G4/src/Geo2G4AssemblyFactory.h index 16c93561260..3fec704918f 100644 --- a/Simulation/G4Utilities/Geo2G4/src/Geo2G4AssemblyFactory.h +++ b/Simulation/G4Utilities/Geo2G4/src/Geo2G4AssemblyFactory.h @@ -1,25 +1,24 @@ /* - 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 GEO2G4_Geo2G4AssemblyFactory_h #define GEO2G4_Geo2G4AssemblyFactory_h #include "GeoModelKernel/GeoVPhysVol.h" -#include "Geo2G4AssemblyFactory.h" #include <map> #include <memory> class Geo2G4AssemblyVolume; -class Geo2G4AssemblyFactory +class Geo2G4AssemblyFactory { public: Geo2G4AssemblyFactory(); Geo2G4AssemblyVolume* Build(const PVConstLink thePhys, - bool& descend); - + bool& descend); + private: std::map<const GeoVPhysVol*, std::unique_ptr<Geo2G4AssemblyVolume>, std::less<const GeoVPhysVol*> > m_assemblyMap; }; -- GitLab