felipealmeida pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=d05a14671e8d0a0100aa71b853cd36d848c6d05c
commit d05a14671e8d0a0100aa71b853cd36d848c6d05c Author: Felipe Magno de Almeida <fel...@expertisesolutions.com.br> Date: Tue Dec 29 11:38:50 2015 -0200 eo-cxx: Removed pessimization use of std::move Local variables, when returned, are already moved or copy-elised. The use of std::move removes the possibility of copy-elision, making it possibly slower. Removed the wrong std::move use. --- src/bindings/eo_cxx/eo_event.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bindings/eo_cxx/eo_event.hh b/src/bindings/eo_cxx/eo_event.hh index 44c66af..965a2c6 100644 --- a/src/bindings/eo_cxx/eo_event.hh +++ b/src/bindings/eo_cxx/eo_event.hh @@ -116,7 +116,7 @@ signal_connection make_signal_connection(std::unique_ptr<F>& data, Eo* eo, ::Eo_ { signal_connection c(_event_deleter<F>(data.get(), eo, cb, description)); data.release(); - return std::move(c); + return c; } namespace _detail { --