From 8c56ac6d2b4de8ad1d25ad2eaf0a843d3036776d Mon Sep 17 00:00:00 2001 From: Ahnaf Tahmid Chowdhury Date: Thu, 27 Jul 2023 23:58:15 +0600 Subject: [PATCH] housekeeping fix --- src/geant4/app/src/ExN01UserScoreWriter.cc | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/geant4/app/src/ExN01UserScoreWriter.cc b/src/geant4/app/src/ExN01UserScoreWriter.cc index cd3c79145a..27a06eca7b 100644 --- a/src/geant4/app/src/ExN01UserScoreWriter.cc +++ b/src/geant4/app/src/ExN01UserScoreWriter.cc @@ -30,10 +30,11 @@ void ExN01UserScoreWriter::DumpAllQuantitiesToFile(const G4String& fileName, G4cout << "Dumping mesh " << fScoringMesh->GetWorldName() << " to file" << G4endl; - // retrieve the map - #ifdef GEANT4_GT_10_6 - using MeshScoreMap = G4VScoringMesh::MeshScoreMap; - #endif +// retrieve the map +#ifdef GEANT4_GT_10_6 +using MeshScoreMap = G4VScoringMesh::MeshScoreMap; +#endif + MeshScoreMap scMap = fScoringMesh->GetScoreMap(); // get the number of bins