Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
change SIMIX_simcall_handle() into ActorImpl::simcall_handle()
[simgrid.git] / src / mc / mc_base.cpp
index ff7dbe3..413e9a7 100644 (file)
@@ -5,11 +5,8 @@
 
 #include "src/mc/mc_base.h"
 #include "mc/mc.h"
-#include "simgrid/config.h"
 #include "src/kernel/activity/CommImpl.hpp"
 #include "src/kernel/activity/MutexImpl.hpp"
-#include "src/mc/mc_config.hpp"
-#include "src/mc/mc_forward.hpp"
 #include "src/mc/mc_replay.hpp"
 #include "src/simix/smx_private.hpp"
 
@@ -46,7 +43,7 @@ void wait_for_requests()
     for (smx_actor_t const& process : simix_global->actors_that_ran) {
       smx_simcall_t req = &process->simcall;
       if (req->call != SIMCALL_NONE && not simgrid::mc::request_is_visible(req))
-        SIMIX_simcall_handle(req, 0);
+        process->simcall_handle(0);
     }
   }
 #if SIMGRID_HAVE_MC