From 0e20aed7ee5b264ebd25e727eb011e9bc597e9ec Mon Sep 17 00:00:00 2001
From: Markus FRANK <Markus.Frank@cern.ch>
Date: Fri, 7 May 2021 01:58:14 +0200
Subject: [PATCH] Fix as reported from CMS

---
 DDG4/include/DDG4/Geant4AssemblyVolume.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/DDG4/include/DDG4/Geant4AssemblyVolume.h b/DDG4/include/DDG4/Geant4AssemblyVolume.h
index 328dc4537..5372e0cdd 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();
       
-- 
GitLab