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 / FatTreeZone.cpp
index eb9758b..b6974dc 100644 (file)
@@ -23,7 +23,7 @@ namespace kernel {
 namespace routing {
 
 FatTreeZone::FatTreeZone(NetZoneImpl* father, std::string name, resource::NetworkModel* netmodel)
-    : ClusterZone(father, name, netmodel)
+    : ClusterZone(father, std::move(name), netmodel)
 {
   XBT_DEBUG("Creating a new fat tree.");
 }