X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/22f6838423728e184fd2e2cc5418aa0695a9630e..eaa222acd330e2c3e2c517c5eaab82c8fcb8a4c1:/examples/s4u/actor-suspend/s4u-actor-suspend.cpp diff --git a/examples/s4u/actor-suspend/s4u-actor-suspend.cpp b/examples/s4u/actor-suspend/s4u-actor-suspend.cpp index 967e8034c8..60aa8efd91 100644 --- a/examples/s4u/actor-suspend/s4u-actor-suspend.cpp +++ b/examples/s4u/actor-suspend/s4u-actor-suspend.cpp @@ -70,7 +70,7 @@ int main(int argc, char* argv[]) xbt_assert(argc == 2, "Usage: %s platform_file\n\tExample: %s msg_platform.xml\n", argv[0], argv[0]); e.loadPlatform(argv[1]); /* - Load the platform description */ - std::vector list = e.getHostList(); + std::vector list = e.getAllHosts(); simgrid::s4u::Actor::createActor("dream_master", list.front(), dream_master); e.run(); /* - Run the simulation */