X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/922482ff141f9ce5878f39a58bef3c7f7e19bffa..3cbf54871089cc3dc50b6832652b5765e1601039:/src/simix/smx_deployment.cpp diff --git a/src/simix/smx_deployment.cpp b/src/simix/smx_deployment.cpp index f59d64f6bd..e767079aaa 100644 --- a/src/simix/smx_deployment.cpp +++ b/src/simix/smx_deployment.cpp @@ -117,7 +117,7 @@ simgrid::simix::ActorCodeFactory& SIMIX_get_actor_code_factory(const char *name) void SIMIX_process_set_function(const char* process_host, const char* process_function, xbt_dynar_t arguments, double process_start_time, double process_kill_time) { - ActorCreationArgs actor; + simgrid::kernel::routing::ActorCreationArgs actor; sg_host_t host = sg_host_by_name(process_host); if (not host) @@ -139,8 +139,8 @@ void SIMIX_process_set_function(const char* process_host, const char* process_fu actor.host = process_host; actor.kill_time = process_kill_time; actor.start_time = process_start_time; - actor.on_failure = ActorOnFailure::DIE; - sg_platf_new_process(&actor); + actor.on_failure = simgrid::kernel::routing::ActorOnFailure::DIE; + sg_platf_new_actor(&actor); } namespace simgrid {