Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
EngineImpl::shutdown doesn't have to be static
[simgrid.git] / src / kernel / EngineImpl.cpp
index 0e83773..3b08ef3 100644 (file)
@@ -190,7 +190,7 @@ void EngineImpl::initialize(int* argc, char** argv)
   s4u::Engine::on_platform_created.connect(surf_presolve);
 
   if (config::get_value<bool>("debug/clean-atexit"))
-    atexit(shutdown);
+    atexit(s4u::Engine::shutdown);
 }
 
 void EngineImpl::shutdown()