X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/e709643ef0c5b61c6c878016c418bffa2b1b20cd..7b9165582a336b1a3e98413846fb45dd10a2d9a9:/src/xbt/config.cpp diff --git a/src/xbt/config.cpp b/src/xbt/config.cpp index f317be522f..ef9fcf678a 100644 --- a/src/xbt/config.cpp +++ b/src/xbt/config.cpp @@ -265,7 +265,7 @@ public: { xbt_assert(options.find(name) == options.end(), "Refusing to register the config element '%s' twice.", name.c_str()); - TypedConfigurationElement* variable = new TypedConfigurationElement(name, std::forward(a)...); + auto* variable = new TypedConfigurationElement(name, std::forward(a)...); XBT_DEBUG("Register cfg elm %s (%s) of type %s @%p in set %p)", name.c_str(), variable->get_description().c_str(), variable->get_type_name(), variable, this); options[name].reset(variable);