Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
some useless s/process/actor/ in the source code
[simgrid.git] / src / simix / smx_context.cpp
index d07d747..6f32bb1 100644 (file)
@@ -101,7 +101,7 @@ void SIMIX_context_mod_init()
 #endif
 
   /* select the context factory to use to create the contexts */
-  if (simgrid::kernel::context::factory_initializer) { // Give Java a chance to hijack the factory mechanism
+  if (simgrid::kernel::context::factory_initializer != nullptr) { // Give Java a chance to hijack the factory mechanism
     simix_global->context_factory = simgrid::kernel::context::factory_initializer();
     return;
   }