X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/ae3c6508d04a703be4815ca94c1e3f888f14246c..288deb04fbcfc6a916717e31e8009d209d3314cf:/src/kernel/routing/RoutedZone.cpp diff --git a/src/kernel/routing/RoutedZone.cpp b/src/kernel/routing/RoutedZone.cpp index d947b4a2b4..35f44d8955 100644 --- a/src/kernel/routing/RoutedZone.cpp +++ b/src/kernel/routing/RoutedZone.cpp @@ -72,8 +72,10 @@ RoutedZone::RoutedZone(NetZone* father, const char* name) : NetZoneImpl(father, void RoutedZone::getGraph(xbt_graph_t graph, xbt_dict_t nodes, xbt_dict_t edges) { - for (auto my_src : vertices_) { - for (auto my_dst : vertices_) { + std::vector vertices = getVertices(); + + for (auto my_src : vertices) { + for (auto my_dst : vertices) { if (my_src == my_dst) continue;