X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/c5180d86a23e831c3a44ab8d40b90ce62395ed3c..a784ea0b57101613a92e9fe1403d224e7ea4d501:/src/instr/jedule/jedule_platform.cpp diff --git a/src/instr/jedule/jedule_platform.cpp b/src/instr/jedule/jedule_platform.cpp index c5e6b32dd3..5109fd7dc5 100644 --- a/src/instr/jedule/jedule_platform.cpp +++ b/src/instr/jedule/jedule_platform.cpp @@ -59,15 +59,15 @@ void Container::addResources(std::vector hosts) void Container::createHierarchy(sg_netzone_t from_as) { - if (from_as->children()->empty()) { + if (from_as->getChildren()->empty()) { // I am no AS // add hosts to jedule platform std::vector table; - from_as->hosts(&table); + from_as->getHosts(&table); this->addResources(table); } else { - for (auto nz : *from_as->children()) { - jed_container_t child_container = new simgrid::jedule::Container(std::string(nz->name())); + for (auto nz : *from_as->getChildren()) { + jed_container_t child_container = new simgrid::jedule::Container(std::string(nz->getCname())); this->addChild(child_container); child_container->createHierarchy(nz); }