X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/12e37132d1b9b141fa8497e17b0629cfd4173c36..c1b3e440de2150420b08c0bc55a125a0c9eb86bc:/src/surf/PropertyHolder.cpp diff --git a/src/surf/PropertyHolder.cpp b/src/surf/PropertyHolder.cpp index 53232e05ed..542ce0b06e 100644 --- a/src/surf/PropertyHolder.cpp +++ b/src/surf/PropertyHolder.cpp @@ -26,7 +26,7 @@ void PropertyHolder::set_property(std::string key, std::string value) { if (not properties_) properties_ = new std::unordered_map; - (*properties_)[key] = value; + (*properties_)[key] = std::move(value); } /** @brief Return the whole set of properties. Don't mess with it, dude! */