Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Prefer nullptr and bool literals.
[simgrid.git] / examples / s4u / maestro-set / s4u-maestro-set.cpp
index 8188c9c..18fbaa0 100644 (file)
@@ -67,7 +67,7 @@ int main(int argc, char* argv[])
 
   /* Specify which code should be executed by maestro on another thread, once this current thread is affected to an
    * actor by the subsequent sg_actor_attach(). This must be done before the creation of the engine. */
-  SIMIX_set_maestro(maestro, NULL);
+  SIMIX_set_maestro(maestro, nullptr);
 
   simgrid::s4u::Engine e(&argc, argv);