diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-06-05 08:34:22 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-06-05 09:22:51 +0200 |
commit | 17a2c9e8e2361de27013a25e51f3a3ca729f1b31 (patch) | |
tree | 1c89bc104e5630fb71ff0a5b12c464ca2aceebc3 /vcl/source/uitest/uno/uiobject_uno.cxx | |
parent | 8fa4b0429b514c0d696ebfc2e47418292d7ec367 (diff) |
clang-tidy performance-unnecessary-value-param
Change-Id: I6ed8c54c7c45931d91709cc818f2483c70197192
Reviewed-on: https://gerrit.libreoffice.org/38400
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/source/uitest/uno/uiobject_uno.cxx')
-rw-r--r-- | vcl/source/uitest/uno/uiobject_uno.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vcl/source/uitest/uno/uiobject_uno.cxx b/vcl/source/uitest/uno/uiobject_uno.cxx index 65956ac93a62..997fade9cc2a 100644 --- a/vcl/source/uitest/uno/uiobject_uno.cxx +++ b/vcl/source/uitest/uno/uiobject_uno.cxx @@ -9,6 +9,7 @@ #include <memory> #include "uiobject_uno.hxx" +#include <utility> #include <vcl/svapp.hxx> #include <vcl/idle.hxx> @@ -61,7 +62,7 @@ class ExecuteWrapper public: ExecuteWrapper(std::function<void()> func, Link<Timer*, void> handler): - mFunc(func), + mFunc(std::move(func)), mHandler(handler), mbSignal(false) { |