summaryrefslogtreecommitdiff
path: root/src/bindings
diff options
context:
space:
mode:
authorFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2015-12-29 11:38:50 -0200
committerFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2015-12-29 11:38:50 -0200
commitd05a14671e8d0a0100aa71b853cd36d848c6d05c (patch)
treef151c6112211bcbe68d84c83d9aac8b8cf61f507 /src/bindings
parenta14b4bf497486e4ab7d3f432af0baef5a089fca8 (diff)
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.
Diffstat (limited to 'src/bindings')
-rw-r--r--src/bindings/eo_cxx/eo_event.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bindings/eo_cxx/eo_event.hh b/src/bindings/eo_cxx/eo_event.hh
index 44c66afcb6..965a2c6697 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_
116{ 116{
117 signal_connection c(_event_deleter<F>(data.get(), eo, cb, description)); 117 signal_connection c(_event_deleter<F>(data.get(), eo, cb, description));
118 data.release(); 118 data.release();
119 return std::move(c); 119 return c;
120} 120}
121 121
122namespace _detail { 122namespace _detail {