From: Martin Quinson Date: Sun, 7 May 2017 06:35:33 +0000 (+0200) Subject: fix jedule builds X-Git-Tag: v3.16~274^2~52 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/a4d819602895c5e1fe306dfc0953cc7cfb54a871 fix jedule builds --- diff --git a/src/instr/jedule/jedule_platform.cpp b/src/instr/jedule/jedule_platform.cpp index 29f822934d..d850392238 100644 --- a/src/instr/jedule/jedule_platform.cpp +++ b/src/instr/jedule/jedule_platform.cpp @@ -65,7 +65,9 @@ void Container::createHierarchy(sg_netzone_t from_as) if (from_as->children()->empty()) { // I am no AS // add hosts to jedule platform - this->addResources(*from_as->hosts()); + std::vector table; + from_as->hosts(&table); + this->addResources(table); } else { for (auto nz : *from_as->children()) { jed_container_t child_container = new simgrid::jedule::Container(std::string(nz->name())); diff --git a/src/msg/msg_environment.cpp b/src/msg/msg_environment.cpp index 0dee03e28c..295752836b 100644 --- a/src/msg/msg_environment.cpp +++ b/src/msg/msg_environment.cpp @@ -82,6 +82,7 @@ void MSG_zone_set_property_value(msg_netzone_t netzone, const char* name, char* void MSG_zone_get_hosts(msg_netzone_t netzone, xbt_dynar_t whereto) { + /* converts vector to dynar */ std::vector hosts; netzone->hosts(&hosts); for (auto host : hosts)