X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/f0b96348dd4b21ba428435c0eb021077134d0810..7444a715278a4bad33c0200162286c50f03bcaef:/src/simix/smx_host.cpp diff --git a/src/simix/smx_host.cpp b/src/simix/smx_host.cpp index a51febd7dd..7872929702 100644 --- a/src/simix/smx_host.cpp +++ b/src/simix/smx_host.cpp @@ -106,8 +106,8 @@ void SIMIX_host_add_auto_restart_process(sg_host_t host, const char* name, std:: double kill_time, std::map* properties, int auto_restart) { - simgrid::simix::ProcessArg* arg = - new simgrid::simix::ProcessArg(name, code, data, host, kill_time, nullptr, auto_restart); + simgrid::kernel::actor::ProcessArg* arg = + new simgrid::kernel::actor::ProcessArg(name, code, data, host, kill_time, nullptr, auto_restart); arg->properties.reset(properties, [](decltype(properties)) {}); if (host->isOff() && watched_hosts.find(host->getCname()) == watched_hosts.end()) { @@ -121,7 +121,7 @@ void SIMIX_host_add_auto_restart_process(sg_host_t host, const char* name, std:: /** @brief Restart the list of processes that have been registered to the host */ void SIMIX_host_autorestart(sg_host_t host) { - std::vector process_list = + std::vector process_list = host->extension()->auto_restart_processes; for (auto const& arg : process_list) {