Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Whenever possible, use std::move() for parameters (mostly std::string).
[simgrid.git] / src / kernel / routing / TorusZone.cpp
index 7aeceb6..ddecf30 100644 (file)
@@ -30,7 +30,7 @@ namespace simgrid {
 namespace kernel {
 namespace routing {
 TorusZone::TorusZone(NetZoneImpl* father, std::string name, resource::NetworkModel* netmodel)
-    : ClusterZone(father, name, netmodel)
+    : ClusterZone(father, std::move(name), netmodel)
 {
 }