X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/08a29a4221dc5cec95b766cd9b25c95dcc361df9..dc9b8feaddd53842f6204f4f24409b2382393fa9:/src/kernel/routing/DragonflyZone.cpp diff --git a/src/kernel/routing/DragonflyZone.cpp b/src/kernel/routing/DragonflyZone.cpp index 603c6052a1..68235e4bb2 100644 --- a/src/kernel/routing/DragonflyZone.cpp +++ b/src/kernel/routing/DragonflyZone.cpp @@ -18,8 +18,8 @@ namespace simgrid { namespace kernel { namespace routing { -DragonflyZone::DragonflyZone(NetZoneImpl* father, std::string name, resource::NetworkModel* netmodel) - : ClusterZone(father, std::move(name), netmodel) +DragonflyZone::DragonflyZone(NetZoneImpl* father, const std::string& name, resource::NetworkModel* netmodel) + : ClusterZone(father, name, netmodel) { } @@ -160,7 +160,7 @@ void DragonflyZone::generate_routers() } } -void DragonflyZone::create_link(std::string id, int numlinks, resource::LinkImpl** linkup, +void DragonflyZone::create_link(const std::string& id, int numlinks, resource::LinkImpl** linkup, resource::LinkImpl** linkdown) { *linkup = nullptr;