summaryrefslogtreecommitdiff
path: root/test/remoteapi.cpp
diff options
context:
space:
mode:
authorGravatar Alexander Batischev <eual.jp@gmail.com> 2023-03-18 21:46:09 +0300
committerGravatar Alexander Batischev <eual.jp@gmail.com> 2023-03-18 21:46:09 +0300
commit674ff82c12f5addf99b1c91d7873b82d55c86e56 (patch)
treee5450f61a52d25f86cfea10b5a84e431e159ad6a /test/remoteapi.cpp
parent4f73205da7dd88635fdaf2e6033870deeddb32a1 (diff)
downloadnewsboat-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.cpp2
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)
{
}