diff --git a/src/core/config/Config.h b/src/core/config/Config.h index e36d57830a396976b7411917f0eb9d3dcdedade0..2aa4513080cd67a23e7b81f88dcd85e8af4d43e3 100644 --- a/src/core/config/Config.h +++ b/src/core/config/Config.h @@ -128,8 +128,8 @@ public: public: //**Constructors************************************************************************************************** explicit Parameter():parameter_(),error_(noerror) {} - explicit Parameter( const Type& parameter, ErrorCode err, const std::string & key ) - : parameter_(parameter), error_(err), key_(key) {} + explicit Parameter(Type parameter, ErrorCode err, std::string key ) + : parameter_(std::move(parameter)), error_(err), key_(std::move(key)) {} // No explicitly declared copy constructor. //****************************************************************************************************************