From 8771e2bd26cdcc4b96b959158ba05a925fc47bfd Mon Sep 17 00:00:00 2001 From: Markus Frank <Markus.Frank@cern.ch> Date: Fri, 12 Jan 2024 12:04:55 +0100 Subject: [PATCH] Adapt to ROOT 6.31. See issue https://github.com/AIDASoft/DD4hep/issues/1210 --- DDCore/src/ShapeUtilities.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DDCore/src/ShapeUtilities.cpp b/DDCore/src/ShapeUtilities.cpp index e8014a2e0..71af25f27 100644 --- a/DDCore/src/ShapeUtilities.cpp +++ b/DDCore/src/ShapeUtilities.cpp @@ -434,7 +434,7 @@ namespace dd4hep { const TGeoFacet& f = sh->GetFacet(i); pars.emplace_back(double(f.GetNvert())); for(int j=0, n=f.GetNvert(); j<n; ++j) { -#if ROOT_VERSION_CODE >= ROOT_VERSION(6,31,0) +#if ROOT_VERSION_CODE >= ROOT_VERSION(6,31,1) int idx = f[j]; pars.emplace_back(double(idx)); #else -- GitLab