X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/a2a013c0e4ca407feeb7b3d0e85abba7acae2532..3f3cd5a65b344ca10eb938bf9837648a0adf7b2a:/src/s4u/s4u_host.cpp diff --git a/src/s4u/s4u_host.cpp b/src/s4u/s4u_host.cpp index e4d3d6c06a..0d3cad43ac 100644 --- a/src/s4u/s4u_host.cpp +++ b/src/s4u/s4u_host.cpp @@ -69,7 +69,7 @@ Host* Host::by_name_or_create(const char* name) } Host *Host::current(){ - smx_process_t smx_proc = SIMIX_process_self(); + smx_actor_t smx_proc = SIMIX_process_self(); if (smx_proc == nullptr) xbt_die("Cannot call Host::current() from the maestro context"); return smx_proc->host;