Import Geant4 10.5.0.beta source tree

This commit is contained in:
Gabriele Cosmo
2018-06-29 10:58:11 +02:00
parent fe81a77428
commit 6aa23be517
1581 changed files with 124288 additions and 83758 deletions
@@ -105,8 +105,7 @@ template <typename T> class G4CrossSectionFactory<T,2> : public G4VBaseXSFactory
virtual G4VCrossSectionDataSet* Instantiate()
{
static G4ThreadLocal T* shared = 0;
if (!shared) { shared = new T(); }
static G4ThreadLocal T* shared = new T();
return shared;
}
};