]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugin_runner.h
Various fixes of issues reported by static analyzers.
[stg.git] / projects / stargazer / plugin_runner.h
index 429d59ca3f69ab4c9741adedebb1d73b3af6f38d..a30b6940b3d809946d37e805037882466c6611fe 100644 (file)
@@ -42,7 +42,7 @@ class STORE;
 class PLUGIN_RUNNER {
 public:
     struct Error : public std::runtime_error {
-        Error(const std::string & msg) : runtime_error(msg) {}
+        explicit Error(const std::string & msg) : runtime_error(msg) {}
     };
 
     PLUGIN_RUNNER(const std::string & pluginFileName,
@@ -60,7 +60,7 @@ public:
 
     int             Start();
     int             Stop();
-    int             Reload();
+    int             Reload(const MODULE_SETTINGS & ms);
     int             Restart();
     bool            IsRunning() { return m_plugin.IsRunning(); }