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
@@ -53,7 +53,7 @@ G4ThreadLocal G4bool G4LogicalVolumeStore::locked = false;
// ***************************************************************************
//
G4LogicalVolumeStore::G4LogicalVolumeStore()
: std::vector<G4LogicalVolume*>()
{
reserve(100);
}
@@ -157,7 +157,7 @@ void G4LogicalVolumeStore::Register(G4LogicalVolume* pVolume)
std::vector<G4LogicalVolume*> 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;
}