diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-08-18 13:08:32 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-08-18 14:24:11 +0100 |
commit | 7a31ae209304730e06e1f33333ebc81e7c7b5de9 (patch) | |
tree | 850dda74ce7be735d30b1109d6ecd16b56348c0c /desktop | |
parent | cppcheck: passedByValue (diff) | |
download | core-7a31ae209304730e06e1f33333ebc81e7c7b5de9.tar.gz core-7a31ae209304730e06e1f33333ebc81e7c7b5de9.zip |
cppcheck: noExplicitConstructor
Change-Id: I61ab542f4cc777ecd8f8393c7bcbb681e529de5f
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 7bc94d1be045..8fc7576f8a03 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(const std::initializer_list<OUString>& args) : m_args(args) {} + explicit 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 { |