Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
transfer some parts of the initialization from SIMIX_global_init to EngineImpl::initi...
[simgrid.git] / teshsuite / kernel / context-defaults / context-defaults.cpp
index f436b1f..01443c9 100644 (file)
@@ -6,13 +6,13 @@
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
-#include "simgrid/simix.h"
+#include "simgrid/s4u/Engine.hpp"
 #include "xbt/log.h"
 
 int main(int argc, char* argv[])
 {
   xbt_log_control_set("root.fmt:[%c/%p]%e%m%n");
   xbt_log_control_set("simix_context.threshold:verbose");
-  SIMIX_global_init(&argc, argv);
+  simgrid::s4u::Engine::get_instance(&argc, argv);
   return 0;
 }