Import Geant4 10.6.0 source tree
This commit is contained in:
@@ -115,8 +115,7 @@ void G4LivermoreGammaConversionModel::Initialise(
|
||||
InitialiseElementSelectors(particle, cuts);
|
||||
|
||||
// Access to elements
|
||||
char* path = getenv("G4LEDATA");
|
||||
|
||||
char* path = std::getenv("G4LEDATA");
|
||||
G4ProductionCutsTable* theCoupleTable =
|
||||
G4ProductionCutsTable::GetProductionCutsTable();
|
||||
|
||||
@@ -174,7 +173,7 @@ void G4LivermoreGammaConversionModel::ReadData(size_t Z, const char* path)
|
||||
|
||||
if(!datadir)
|
||||
{
|
||||
datadir = getenv("G4LEDATA");
|
||||
datadir = std::getenv("G4LEDATA");
|
||||
if(!datadir)
|
||||
{
|
||||
G4Exception("G4LivermoreGammaConversionModel::ReadData()",
|
||||
|
||||
Reference in New Issue
Block a user