X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/41f97f763bc1771fe15e96ffcd4ff3e7c76a9a63..9fd6cbc6c3b06f4b09e3c3339ffb3cc8a68f9bfa:/src/kernel/routing/ClusterZone.cpp diff --git a/src/kernel/routing/ClusterZone.cpp b/src/kernel/routing/ClusterZone.cpp index 26c7a1e75e..24741b5765 100644 --- a/src/kernel/routing/ClusterZone.cpp +++ b/src/kernel/routing/ClusterZone.cpp @@ -17,7 +17,8 @@ XBT_LOG_NEW_DEFAULT_SUBCATEGORY(surf_route_cluster, surf, "Routing part of surf" namespace simgrid { namespace kernel { namespace routing { -ClusterZone::ClusterZone(NetZone* father, std::string name) : NetZoneImpl(father, name) +ClusterZone::ClusterZone(NetZoneImpl* father, std::string name, resource::NetworkModel* netmodel) + : NetZoneImpl(father, name, netmodel) { } @@ -89,7 +90,7 @@ void ClusterZone::get_graph(xbt_graph_t graph, std::map new_xbt_graph_edge(graph, routerNode, backboneNode, edges); } - for (auto const& src : getVertices()) { + for (auto const& src : get_vertices()) { if (not src->is_router()) { xbt_node_t previous = new_xbt_graph_node(graph, src->get_cname(), nodes);