diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-08-18 12:27:49 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-08-18 14:24:11 +0100 |
commit | 4630157e29f565c110f4fa11223a2d2358508c26 (patch) | |
tree | f27b9b6e953ec3ae433172229a596ab0bdc9d934 /desktop | |
parent | cppcheck: nullPointerRedundantCheck (diff) | |
download | core-4630157e29f565c110f4fa11223a2d2358508c26.tar.gz core-4630157e29f565c110f4fa11223a2d2358508c26.zip |
cppcheck: passedByValue
Change-Id: I3ffcfe1294a1cbb06aadd3a1a79e9259876e38cc
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/qa/desktop_app/test_desktop_app.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/qa/desktop_app/test_desktop_app.cxx b/desktop/qa/desktop_app/test_desktop_app.cxx index 9d8225e05812..7bc94d1be045 100644 --- a/desktop/qa/desktop_app/test_desktop_app.cxx +++ b/desktop/qa/desktop_app/test_desktop_app.cxx @@ -47,7 +47,7 @@ public: class TestSupplier : public desktop::CommandLineArgs::Supplier { public: - TestSupplier(std::initializer_list<OUString> args) : m_args(args) {} + TestSupplier(const std::initializer_list<OUString>& args) : m_args(args) {} virtual ~TestSupplier() {} virtual boost::optional< OUString > getCwdUrl() override { return boost::optional< OUString >(); } virtual bool next(OUString * argument) override { |