diff options
author | 2023-03-18 21:46:09 +0300 | |
---|---|---|
committer | 2023-03-18 21:46:09 +0300 | |
commit | 674ff82c12f5addf99b1c91d7873b82d55c86e56 (patch) | |
tree | e5450f61a52d25f86cfea10b5a84e431e159ad6a /test/remoteapi.cpp | |
parent | 4f73205da7dd88635fdaf2e6033870deeddb32a1 (diff) | |
download | newsboat-674ff82c12f5addf99b1c91d7873b82d55c86e56.tar.gz newsboat-674ff82c12f5addf99b1c91d7873b82d55c86e56.tar.zst newsboat-674ff82c12f5addf99b1c91d7873b82d55c86e56.zip |
Mark single-argument constructors `explicit`
This fixes a cppcheck warning.
Diffstat (limited to '')
-rw-r--r-- | test/remoteapi.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/remoteapi.cpp b/test/remoteapi.cpp index da3fb0c3..7cd1e9bf 100644 --- a/test/remoteapi.cpp +++ b/test/remoteapi.cpp @@ -14,7 +14,7 @@ using namespace newsboat; */ class test_api : public RemoteApi { public: - test_api(ConfigContainer* c) + explicit test_api(ConfigContainer* c) : RemoteApi(c) { } |