X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/3ad51daf5c4c7d42a0e55e00498b0c9de202b9e4..b356ce9a510410f879eb3cd1b16b33856aebfdbe:/src/kernel/routing/ClusterZone.cpp diff --git a/src/kernel/routing/ClusterZone.cpp b/src/kernel/routing/ClusterZone.cpp index 6cc36f1656..97edfcc87a 100644 --- a/src/kernel/routing/ClusterZone.cpp +++ b/src/kernel/routing/ClusterZone.cpp @@ -84,7 +84,7 @@ void ClusterZone::getGraph(xbt_graph_t graph, xbt_dict_t nodes, xbt_dict_t edges xbt_node_t backboneNode = nullptr; if (backbone_) { - backboneNode = new_xbt_graph_node(graph, backbone_->getName(), nodes); + backboneNode = new_xbt_graph_node(graph, backbone_->cname(), nodes); new_xbt_graph_edge(graph, routerNode, backboneNode, edges); } @@ -95,7 +95,7 @@ void ClusterZone::getGraph(xbt_graph_t graph, xbt_dict_t nodes, xbt_dict_t edges std::pair info = privateLinks_.at(src->id()); if (info.first) { // link up - xbt_node_t current = new_xbt_graph_node(graph, info.first->getName(), nodes); + xbt_node_t current = new_xbt_graph_node(graph, info.first->cname(), nodes); new_xbt_graph_edge(graph, previous, current, edges); if (backbone_) { @@ -106,7 +106,7 @@ void ClusterZone::getGraph(xbt_graph_t graph, xbt_dict_t nodes, xbt_dict_t edges } if (info.second) { // link down - xbt_node_t current = new_xbt_graph_node(graph, info.second->getName(), nodes); + xbt_node_t current = new_xbt_graph_node(graph, info.second->cname(), nodes); new_xbt_graph_edge(graph, previous, current, edges); if (backbone_) {