felipealmeida pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=e64327bacc6feb7aa2ab74e3481ccf48094540f2
commit e64327bacc6feb7aa2ab74e3481ccf48094540f2 Author: Felipe Magno de Almeida <fel...@expertisesolutions.com.br> Date: Tue Dec 20 15:55:59 2016 -0300 eolian-cxx: Add std::move to member variable initialization CID 1361231 --- src/lib/eolian_cxx/grammar/klass_def.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/eolian_cxx/grammar/klass_def.hpp b/src/lib/eolian_cxx/grammar/klass_def.hpp index ee03b65..4b9bc48 100644 --- a/src/lib/eolian_cxx/grammar/klass_def.hpp +++ b/src/lib/eolian_cxx/grammar/klass_def.hpp @@ -316,7 +316,7 @@ struct parameter_def std::string c_type; parameter_def(parameter_direction direction, type_def type, std::string param_name, std::string c_type) - : direction(direction), type(type), param_name(param_name), c_type(c_type) {} + : direction(std::move(direction)), type(std::move(type)), param_name(std::move(param_name)), c_type(std::move(c_type)) {} parameter_def(Eolian_Function_Parameter const* param) : type( ::eolian_parameter_type_get(param)) , param_name( ::eolian_parameter_name_get(param)) --