X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/4b8feb2f921bf25aa725cc7ea0b306195b55bb1b..50112236f62426d55750da4901ab88456a272e7f:/src/msg/msg_host.cpp diff --git a/src/msg/msg_host.cpp b/src/msg/msg_host.cpp index 7bef21b2f5..51972e0526 100644 --- a/src/msg/msg_host.cpp +++ b/src/msg/msg_host.cpp @@ -8,6 +8,8 @@ #include "simgrid/s4u/storage.hpp" #include "src/msg/msg_private.h" #include "src/simix/ActorImpl.hpp" +#include "src/simix/smx_host_private.h" + XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(msg); @@ -146,7 +148,7 @@ void MSG_host_get_process_list(msg_host_t host, xbt_dynar_t whereto) { xbt_assert((host != nullptr), "Invalid parameters"); smx_actor_t actor = NULL; - xbt_swag_foreach(actor, host->processes()) { + xbt_swag_foreach(actor, host->extension()->process_list) { msg_process_t p = actor->ciface(); xbt_dynar_push(whereto, &p); }