Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix jedule build.
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Mon, 11 Jun 2018 12:30:01 +0000 (14:30 +0200)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Mon, 11 Jun 2018 12:30:01 +0000 (14:30 +0200)
src/instr/jedule/jedule_platform.cpp

index 577b702..c0060d5 100644 (file)
@@ -64,13 +64,13 @@ void Container::addResources(std::vector<sg_host_t> 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<sg_host_t> 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);