From 8d34054b4404cb90b3df427862816e7471b026e4 Mon Sep 17 00:00:00 2001 From: David Boersma Date: Fri, 1 Feb 2019 11:25:21 +0100 Subject: [PATCH] declare mUseICRU90Data data member only when geant4 >= 10.05 --- source/physics/include/GatePhysicsList.hh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/physics/include/GatePhysicsList.hh b/source/physics/include/GatePhysicsList.hh index e24848101..c41cffce1 100644 --- a/source/physics/include/GatePhysicsList.hh +++ b/source/physics/include/GatePhysicsList.hh @@ -117,7 +117,9 @@ protected: double mEmin; double mEmax; bool mSplineFlag; +#if G4VERSION_MAJOR >= 10 && G4VERSION_MINOR >= 5 bool mUseICRU90Data; +#endif G4UserLimits * userlimits; // Physic list management