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 {
#if G4VERSION_NUMBER >= 1030
iter = GetParticleIterator();
#else
#if G4VERSION_NUMBER >= 1000
#elif G4VERSION_NUMBER >= 1000
iter = aParticleIterator;
#else
#else
iter = theParticleIterator;
#endif
#endif
iter->reset();
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