Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Make ActorImpl::context_ a std::unique_ptr.
[simgrid.git] / src / kernel / routing / FloydZone.cpp
index ca4c2de..c3d32b3 100644 (file)
@@ -23,7 +23,7 @@ namespace kernel {
 namespace routing {
 
 FloydZone::FloydZone(NetZoneImpl* father, std::string name, resource::NetworkModel* netmodel)
-    : RoutedZone(father, name, netmodel)
+    : RoutedZone(father, std::move(name), netmodel)
 {
   predecessor_table_ = nullptr;
   cost_table_        = nullptr;