-/* Copyright (c) 2010-2017. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2010-2018. The SimGrid Team. All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
#include "simgrid/jedule/jedule.hpp"
+#include "simgrid/host.h"
#include "simgrid/s4u/NetZone.hpp"
#include "xbt/asserts.h"
#include <algorithm>
this->addResources(table);
} else {
for (auto const& nz : *from_as->getChildren()) {
- jed_container_t child_container = new simgrid::jedule::Container(std::string(nz->getCname()));
+ jed_container_t child_container = new simgrid::jedule::Container(std::string(nz->get_cname()));
this->addChild(child_container);
child_container->createHierarchy(nz);
}