Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[mc] Fix the MC wrt the simgrid::Host modification
[simgrid.git] / src / simgrid / host.cpp
index 1c3cb95..d7ec5f1 100644 (file)
@@ -202,8 +202,8 @@ int sg_host_get_pstate(sg_host_t host) {
 
 namespace simgrid {
 
-Host::Host(std::string id)
-  : id_(std::move(id))
+Host::Host(std::string const& id)
+  : id_(id)
 {
 }