X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/3d35f119d529a283de2a39bca8d8034e6086aefc..3c6d61c2bd982819b041235ef2d5fa141c35e7f2:/include/xbt/config.hpp diff --git a/include/xbt/config.hpp b/include/xbt/config.hpp index 1a04a570f9..a0406db96d 100644 --- a/include/xbt/config.hpp +++ b/include/xbt/config.hpp @@ -41,7 +41,7 @@ inline std::string const& to_string(std::string const& value) } inline std::string to_string(std::string&& value) { - return value; + return std::move(value); } // Set default @@ -307,7 +307,5 @@ XBT_PUBLIC void show_aliases(); XBT_PUBLIC void help(); } } -XBT_ATTRIB_DEPRECATED_v323("Please use simgrid::config::get_value") XBT_PUBLIC std::string - xbt_cfg_get_string(const char* name); #endif