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