]> AND Public Git Repository - simgrid.git/blobdiff - src/simix/smx_global.cpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Simplify the actor answer to iwannadie
[simgrid.git] / src / simix / smx_global.cpp
index 4c53ae65e3076f7e7b7928977afd33e87ee8ae5a..b7776167925aeba89385e5de458f2b8c426888b3 100644 (file)
@@ -179,7 +179,7 @@ void SIMIX_global_init(int *argc, char **argv)
   simgrid::mc::Client::initialize();
 #endif
 
-  if (not simix_global) {
+  if (simix_global == nullptr) {
     simix_global = std::unique_ptr<simgrid::simix::Global>(new simgrid::simix::Global());
     simix_global->maestro_process = nullptr;