Import Geant4 11.1.0 source tree

This commit is contained in:
Gabriele Cosmo
2022-12-09 14:43:28 +01:00
parent c07cea1fe0
commit 9f34590941
3810 changed files with 200490 additions and 182326 deletions
@@ -150,7 +150,7 @@ class G4ThreadLocalSingleton : private G4Cache<T*>
G4ThreadLocalSingleton();
// Creates thread-local singleton manager
~G4ThreadLocalSingleton();
~G4ThreadLocalSingleton() override;
G4ThreadLocalSingleton(const G4ThreadLocalSingleton&) = delete;
G4ThreadLocalSingleton(G4ThreadLocalSingleton&&) = default;
@@ -179,7 +179,7 @@ G4ThreadLocalSingleton<T>::G4ThreadLocalSingleton()
: G4Cache<T*>()
{
G4MUTEXINIT(listm);
G4Cache<T*>::Put(static_cast<T*>(0));
G4Cache<T*>::Put(nullptr);
// Uncomment below to find the origin of where instantiation happened
/*
auto bt = G4Backtrace::GetDemangled<4, 1>(