]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/configuration/rpcconfig/info_methods.h
Various fixes of issues reported by static analyzers.
[stg.git] / projects / stargazer / plugins / configuration / rpcconfig / info_methods.h
index cb72bbf751dffbd6cec753597ddd0b06ca6303f6..f781b9be2700848d0fe9acfadd724bc435a78192 100644 (file)
@@ -44,7 +44,7 @@ private:
 class METHOD_LOGIN : public xmlrpc_c::method
 {
 public:
-    METHOD_LOGIN(RPC_CONFIG * c)
+    explicit METHOD_LOGIN(RPC_CONFIG * c)
         : config(c)
     {
     }
@@ -62,7 +62,7 @@ private:
 class METHOD_LOGOUT : public xmlrpc_c::method
 {
 public:
-    METHOD_LOGOUT(RPC_CONFIG * c)
+    explicit METHOD_LOGOUT(RPC_CONFIG * c)
         : config(c)
     {
     }