Import Geant4 11.2.0.beta source tree

This commit is contained in:
Gabriele Cosmo
2023-06-30 09:09:57 +02:00
parent aef78ca386
commit dd1f179cda
3780 changed files with 212808 additions and 142780 deletions
@@ -54,7 +54,7 @@ G4ThreadLocal G4bool G4PhysicalVolumeStore::locked = false;
// ***************************************************************************
//
G4PhysicalVolumeStore::G4PhysicalVolumeStore()
: std::vector<G4VPhysicalVolume*>()
{
reserve(100);
}
@@ -159,7 +159,7 @@ void G4PhysicalVolumeStore::Register(G4VPhysicalVolume* pVolume)
std::vector<G4VPhysicalVolume*> vol_vec { pVolume };
store->bmap.insert(std::make_pair(vol_name, vol_vec));
}
if (fgNotifier) { fgNotifier->NotifyRegistration(); }
if (fgNotifier != nullptr) { fgNotifier->NotifyRegistration(); }
store->mvalid = true;
}