X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/b4ac368a8512fa8ec30d04f55c4a3c660e9439b9..e526ad06508e0193155f0591b43d7d9e9e92f6c7:/src/kernel/routing/ClusterZone.cpp diff --git a/src/kernel/routing/ClusterZone.cpp b/src/kernel/routing/ClusterZone.cpp index 894e08fe0f..78e3d898da 100644 --- a/src/kernel/routing/ClusterZone.cpp +++ b/src/kernel/routing/ClusterZone.cpp @@ -81,7 +81,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_->cname(), nodes); + backboneNode = new_xbt_graph_node(graph, backbone_->getCname(), nodes); new_xbt_graph_edge(graph, routerNode, backboneNode, edges); } @@ -92,7 +92,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->cname(), nodes); + xbt_node_t current = new_xbt_graph_node(graph, info.first->getCname(), nodes); new_xbt_graph_edge(graph, previous, current, edges); if (backbone_) { @@ -103,7 +103,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->cname(), nodes); + xbt_node_t current = new_xbt_graph_node(graph, info.second->getCname(), nodes); new_xbt_graph_edge(graph, previous, current, edges); if (backbone_) {