X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/99f760f15a180f34cbb6f3abf4c490d09f3c8fc7..aa5187ab36c6b43f55fb309c7521a3c454d2a58e:/src/surf/sg_platf.cpp diff --git a/src/surf/sg_platf.cpp b/src/surf/sg_platf.cpp index 219c19331e..f8d7e4d95b 100644 --- a/src/surf/sg_platf.cpp +++ b/src/surf/sg_platf.cpp @@ -274,7 +274,7 @@ void sg_platf_new_cluster(ClusterCreationArgs* cluster) XBT_DEBUG("", cluster->router_id.c_str()); if (cluster->router_id.empty()) { std::string newid = std::string(cluster->prefix) + cluster->id + "_router" + cluster->suffix; - current_as->router_ = sg_platf_new_router(newid.c_str(), NULL); + current_as->router_ = sg_platf_new_router(newid, NULL); } else { current_as->router_ = sg_platf_new_router(cluster->router_id, NULL); }