X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/972162bac11e3df7266030562100d2f8e43870b2..3082f058f27fdbc39b5daebf6a720ab2272d6585:/src/xbt/parmap.cpp diff --git a/src/xbt/parmap.cpp b/src/xbt/parmap.cpp index 95abdcea15..2445b0b357 100644 --- a/src/xbt/parmap.cpp +++ b/src/xbt/parmap.cpp @@ -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"); @@ -273,7 +272,7 @@ static void *xbt_parmap_worker_main(void *arg) xbt_parmap_thread_data_t data = (xbt_parmap_thread_data_t) arg; xbt_parmap_t parmap = data->parmap; unsigned round = 0; - smx_context_t context = SIMIX_context_new(NULL, 0, NULL, NULL, NULL); + smx_context_t context = SIMIX_context_new(std::function(), NULL, NULL); SIMIX_context_set_current(context); XBT_DEBUG("New worker thread created");