diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-05-17 10:50:59 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-08-13 19:11:49 +0200 |
commit | 1743d74e87745a26043642a06dc8a57b1af29740 (patch) | |
tree | 86354c464ed2e51bf940b58333844c0ad0670d01 /testtools | |
parent | a0b9a7e7f0d14d0f121e54cb8979074bc5dfbe38 (diff) |
clang-tidy modernize-pass-by-value in various
Change-Id: Ie091b22bd77d4e1fbff46545bc86c12f1dbafcfe
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138171
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'testtools')
-rw-r--r-- | testtools/source/bridgetest/multi.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/testtools/source/bridgetest/multi.cxx b/testtools/source/bridgetest/multi.cxx index 1bfbfb4154f7..1ac6aa81b135 100644 --- a/testtools/source/bridgetest/multi.cxx +++ b/testtools/source/bridgetest/multi.cxx @@ -27,11 +27,12 @@ #include <sstream> #include <string_view> +#include <utility> namespace { struct CheckFailed { - explicit CheckFailed(OUString const & theMessage): message(theMessage) + explicit CheckFailed(OUString theMessage): message(std::move(theMessage)) {} OUString message; |