X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/82f71f716643bf7c4ba1c63793439b753fcfa954..b9684d3607aa558c95b7185ddf147b478a7e367f:/src/surf/AsCluster.cpp?ds=sidebyside diff --git a/src/surf/AsCluster.cpp b/src/surf/AsCluster.cpp index 53b888220e..228a0fa795 100644 --- a/src/surf/AsCluster.cpp +++ b/src/surf/AsCluster.cpp @@ -12,7 +12,7 @@ XBT_LOG_NEW_DEFAULT_SUBCATEGORY(surf_route_cluster, surf, "Routing part of surf" * Note that a router is created, easing the interconnexion with the rest of the world. */ namespace simgrid { -namespace surf { +namespace routing { AsCluster::AsCluster(const char*name) : AsImpl(name) {} @@ -79,7 +79,7 @@ void AsCluster::getGraph(xbt_graph_t graph, xbt_dict_t nodes, xbt_dict_t edges) int table_size = xbt_dynar_length(vertices_); NetCard *src; - xbt_node_t current, previous, backboneNode = NULL, routerNode; + xbt_node_t current, previous, backboneNode = nullptr, routerNode; s_surf_parsing_link_up_down_t info; xbt_assert(router_,"Malformed cluster. This may be because your platform file is a hypergraph while it must be a graph.");