From fbd79196b4d8916d68b8b6d0e88e71dd9f8ee6e0 Mon Sep 17 00:00:00 2001 From: Markus Frank <markus.frank@cern.ch> Date: Thu, 21 Feb 2013 17:06:48 +0000 Subject: [PATCH] Bug fix --- DDG4/src/Geant4XML.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/DDG4/src/Geant4XML.cpp b/DDG4/src/Geant4XML.cpp index 44d3cc17b..ac3399e0c 100644 --- a/DDG4/src/Geant4XML.cpp +++ b/DDG4/src/Geant4XML.cpp @@ -21,13 +21,13 @@ using namespace DD4hep; using namespace DD4hep::Geometry; namespace DD4hep { - template <> void Converter<Geant4>::operator()(const xml_h& e) const; - template <> void Converter<Geometry::GdmlFile>::operator()(const xml_h& e) const; - template <> void Converter<Geometry::Property>::operator()(const xml_h& e) const; - template <> void Converter<Geometry::SensitiveDetector>::operator()(const xml_h& e) const; + template <> void Converter<Geant4>::operator()(xml_h e) const; + template <> void Converter<Geometry::GdmlFile>::operator()(xml_h e) const; + template <> void Converter<Geometry::Property>::operator()(xml_h e) const; + template <> void Converter<Geometry::SensitiveDetector>::operator()(xml_h e) const; } -template <> void Converter<Geant4>::operator()(const xml_h& element) const { +template <> void Converter<Geant4>::operator()(xml_h element) const { xml_elt_t compact(element); //xml_coll_t(compact,_X(includes) ).for_each(_X(gdmlFile), Converter<Geometry::GdmlFile>(lcdd,param)); xml_coll_t(compact,_X(properties) ).for_each(_X(attributes),Converter<Geometry::Property>(lcdd,param)); -- GitLab