Import Geant4 10.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-10 11:51:14 +02:00
parent e2d2f9810a
commit 286caacf06
12421 changed files with 730077 additions and 502383 deletions
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
// $Id$
// $Id: G4PVDivisionFactory.cc 68718 2013-04-05 09:16:24Z gcosmo $
//
// class G4PVDivisionFactory Implementation file
//
@@ -54,12 +54,11 @@ G4PVDivisionFactory::~G4PVDivisionFactory()
G4PVDivisionFactory* G4PVDivisionFactory::GetInstance()
{
static G4PVDivisionFactory theFactory;
if (!fgInstance)
{
fgInstance = &theFactory;
fgInstance = new G4PVDivisionFactory;
}
return &theFactory;
return dynamic_cast<G4PVDivisionFactory*>(fgInstance);
}
//_____________________________________________________________________________