X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/6b3287a39f856ed57ee63cc62d948e3245bb561d..b4dba83ccd632236b4f6ac78caa6637bc0874e35:/projects/stargazer/plugin_runner.h diff --git a/projects/stargazer/plugin_runner.h b/projects/stargazer/plugin_runner.h index 429d59ca..a30b6940 100644 --- a/projects/stargazer/plugin_runner.h +++ b/projects/stargazer/plugin_runner.h @@ -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(); }