Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
kill smx_private.hpp We already have a smx_private.h
[simgrid.git] / src / xbt / parmap.cpp
index 028ece1..b456047 100644 (file)
@@ -27,7 +27,6 @@
 #include "xbt/xbt_os_thread.h"
 #include "xbt/sysdep.h"
 #include "src/simix/smx_private.h"
-#include "src/simix/smx_private.hpp"
 
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(xbt_parmap, xbt, "parmap: parallel map");
 
@@ -290,7 +289,7 @@ static void *xbt_parmap_worker_main(void *arg)
       XBT_DEBUG("Worker %d has finished", data->worker_id);
     /* We are destroying the parmap */
     } else {
-      SIMIX_context_free(context);
+      delete context;
       xbt_free(data);
       return NULL;
     }