Import Geant4 10.6.0 source tree
This commit is contained in:
@@ -335,7 +335,7 @@ size_t G4DataSet::FindLowerBound(G4double x, G4DataVector* values) const
|
||||
|
||||
G4String G4DataSet::FullFileName(const G4String& name) const
|
||||
{
|
||||
char* path = getenv("G4PIIDATA");
|
||||
char* path = std::getenv("G4PIIDATA");
|
||||
if (!path)
|
||||
G4Exception("G4DataSet::FullFileName",
|
||||
"pii00000160",
|
||||
|
||||
@@ -201,7 +201,7 @@ void G4PixeShellDataSet::CleanUpComponents(void)
|
||||
G4String G4PixeShellDataSet::FullFileName(const G4String& file,
|
||||
const G4String& subShell) const
|
||||
{
|
||||
char* path = getenv("G4PIIDATA");
|
||||
char* path = std::getenv("G4PIIDATA");
|
||||
if (!path)
|
||||
G4Exception("G4PixeShellDataSet::FullFileName",
|
||||
"pii00000320",
|
||||
|
||||
Reference in New Issue
Block a user