- ConfigurationElement(std::string key, std::string desc) : key(key), desc(desc) {}
- ConfigurationElement(std::string key, std::string desc, xbt_cfg_cb_t cb) : key(key), desc(desc), old_callback(cb) {}
+ ConfigurationElement(std::string key, std::string desc) : key(std::move(key)), desc(std::move(desc)) {}
+ ConfigurationElement(std::string key, std::string desc, xbt_cfg_cb_t cb)
+ : key(std::move(key)), desc(std::move(desc)), old_callback(cb)
+ {
+ }