From e8e3a24ac5009755ca601a1826fe2b2669f9cc44 Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Mon, 11 Jun 2018 14:30:01 +0200 Subject: [PATCH] Fix jedule build. --- src/instr/jedule/jedule_platform.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/instr/jedule/jedule_platform.cpp b/src/instr/jedule/jedule_platform.cpp index 577b7028da..c0060d52da 100644 --- a/src/instr/jedule/jedule_platform.cpp +++ b/src/instr/jedule/jedule_platform.cpp @@ -64,13 +64,13 @@ void Container::addResources(std::vector hosts) void Container::createHierarchy(sg_netzone_t from_as) { - if (from_as->getChildren()->empty()) { + if (from_as->get_children()->empty()) { // I am no AS // add hosts to jedule platform std::vector table = from_as->get_all_hosts(); this->addResources(table); } else { - for (auto const& nz : *from_as->getChildren()) { + for (auto const& nz : *from_as->get_children()) { jed_container_t child_container = new simgrid::jedule::Container(std::string(nz->get_cname())); this->addChild(child_container); child_container->createHierarchy(nz); -- 2.20.1