From 674ff82c12f5addf99b1c91d7873b82d55c86e56 Mon Sep 17 00:00:00 2001 From: Alexander Batischev Date: Sat, 18 Mar 2023 21:46:09 +0300 Subject: Mark single-argument constructors `explicit` This fixes a cppcheck warning. --- test/remoteapi.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/remoteapi.cpp') 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) { } -- cgit v1.2.3