diff --git a/DDG4/include/DDG4/Geant4AssemblyVolume.h b/DDG4/include/DDG4/Geant4AssemblyVolume.h index 328dc4537adfbf3e05e86d9692b9bd76e220f8e5..5372e0cdd2a6c507da70119ee1e6d42ad4eebecc 100644 --- a/DDG4/include/DDG4/Geant4AssemblyVolume.h +++ b/DDG4/include/DDG4/Geant4AssemblyVolume.h @@ -46,9 +46,9 @@ namespace dd4hep { std::vector<Geant4AssemblyVolume*> m_places; G4AssemblyVolume* m_assembly; + public: /// Default constructor with initialization Geant4AssemblyVolume(); - /// Inhibit move construction Geant4AssemblyVolume(Geant4AssemblyVolume&& copy) = delete; /// Inhibit copy construction @@ -57,7 +57,6 @@ namespace dd4hep { Geant4AssemblyVolume& operator=(Geant4AssemblyVolume&& copy) = delete; /// Inhibit copy assignment Geant4AssemblyVolume& operator=(const Geant4AssemblyVolume& copy) = delete; - /// Default destructor virtual ~Geant4AssemblyVolume();