Import Geant4 11.2.0 source tree
This commit is contained in:
@@ -29,14 +29,13 @@
|
||||
//
|
||||
//
|
||||
// -------------------------------------------------------------
|
||||
// GEANT4 Hadr00
|
||||
// factory
|
||||
//
|
||||
// Application demonstrating Geant4 hadronic cross sections
|
||||
//
|
||||
// Author: V.Ivanchenko 20 June 2008
|
||||
//
|
||||
// Modified:
|
||||
// Application demonstrating the usage of G4PhysListFactory
|
||||
// to build the concrete physics list
|
||||
//
|
||||
// Modified from hadronic/Hadr00/Hadr00.cc
|
||||
// Author: V.Ivanchenko 20 June 2008
|
||||
// -------------------------------------------------------------
|
||||
//
|
||||
//
|
||||
@@ -101,7 +100,7 @@ int main(int argc,char** argv)
|
||||
|
||||
// Detect interactive mode (if no arguments) and define UI session
|
||||
//
|
||||
G4UIExecutive* ui = 0;
|
||||
G4UIExecutive* ui = nullptr;
|
||||
if ( ! macro.size() ) {
|
||||
ui = new G4UIExecutive(argc, argv, session);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user