Skip to content
Snippets Groups Projects
Commit c9faecfa authored by Frank Gaede's avatar Frank Gaede Committed by Frank Gaede
Browse files

use #elif for Geant4 versions

parent 812be20c
No related branches found
No related tags found
No related merge requests found
...@@ -38,13 +38,12 @@ namespace { ...@@ -38,13 +38,12 @@ namespace {
#if G4VERSION_NUMBER >= 1030 #if G4VERSION_NUMBER >= 1030
iter = GetParticleIterator(); iter = GetParticleIterator();
#else #elif G4VERSION_NUMBER >= 1000
#if G4VERSION_NUMBER >= 1000
iter = aParticleIterator; iter = aParticleIterator;
#else #else
iter = theParticleIterator; iter = theParticleIterator;
#endif
#endif #endif
iter->reset(); iter->reset();
return iter; return iter;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment