Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Useless std::move.
[simgrid.git] / teshsuite / s4u / cloud-sharing / cloud-sharing.cpp
index 853b08d..5d86a64 100644 (file)
@@ -42,7 +42,7 @@ static int computation_fun(std::vector<std::string> argv)
 static void run_test_process(const std::string& name, simgrid::s4u::Host* location, int size)
 {
   std::vector<std::string> arg = {std::to_string(size)};
-  simgrid::s4u::Actor::create(std::move(name), location, computation_fun, arg);
+  simgrid::s4u::Actor::create(name, location, computation_fun, arg);
 }
 
 static void test_energy_consumption(const std::string& name, int nb_cores)