Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
IIUC return std::move(...) is discouraged.
[simgrid.git] / include / xbt / config.hpp
index b6f60f00f63b282faa128ff5a52005c4238305ac..1a04a570f998dcba6bb5c15c7b8d82016c19f445 100644 (file)
@@ -41,7 +41,7 @@ inline std::string const& to_string(std::string const& value)
 }
 inline std::string to_string(std::string&& value)
 {
-  return std::move(value);
+  return value;
 }
 
 // Set default