From 77b99de4e3b1b3b54632ae46dbbde974de3f4960 Mon Sep 17 00:00:00 2001 From: Markus Frank <Markus.Frank@cern.ch> Date: Thu, 8 Feb 2024 12:27:21 +0100 Subject: [PATCH] Remove support for very old versions of ROOT < 6.26.0. Remove default use of std namespace from some implementation files. --- DDCore/src/plugins/Compact2Objects.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/DDCore/src/plugins/Compact2Objects.cpp b/DDCore/src/plugins/Compact2Objects.cpp index 1eb0ca12d..f50741929 100644 --- a/DDCore/src/plugins/Compact2Objects.cpp +++ b/DDCore/src/plugins/Compact2Objects.cpp @@ -793,7 +793,8 @@ template <> void Converter<OpticalSurface>::operator()(xml_h element) const { description.manager().AddGDMLMatrix(table); } #if ROOT_VERSION_CODE >= ROOT_VERSION(6,31,1) - /// In case there were constant surface properties specified: convert them here + // + // In case there were constant surface properties specified: convert them here for(xml_coll_t properties(e, _U(constant)); properties; ++properties) { xml_elt_t p = properties; pname = p.attr<string>(_U(name)); @@ -830,6 +831,7 @@ template <> void Converter<OpticalSurface>::operator()(xml_h element) const { surf->GetName(), pname.c_str(), ptyp.c_str()); } } +#endif } /** Convert compact constant property (Material properties stored in TGeoManager) -- GitLab