Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Don't qwack when the default empty string is passed as a replay path
[simgrid.git] / src / kernel / EngineImpl.cpp
index 5a6dd12129e734dcaa33972497b8a050e2a888ef..a5b2d5718ef51e1437f152c89c7362f178f1a674 100644 (file)
@@ -175,7 +175,7 @@ void EngineImpl::initialize(int* argc, char** argv)
   // The communication initialization is done ASAP, as we need to get some init parameters from the MC for different
   // layers. But instance_ needs to be created, as we send the address of some of its fields to the MC that wants to
   // read them directly.
-  simgrid::mc::AppSide::initialize();
+  simgrid::mc::AppSide::get(); // To ensure that it's initialized
 #endif
 
   if (static bool inited = false; not inited) {