Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
surf_parse_error() never returns, remove dead code after that.
[simgrid.git] / src / kernel / routing / TorusZone.cpp
index a23d1b1..ddecf30 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2014-2018. The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2014-2019. The SimGrid Team. All rights reserved.          */
 
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
@@ -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)
 {
 }