X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/6b3287a39f856ed57ee63cc62d948e3245bb561d..22cb2560274e05e6490cf964cbbeb74a1991c642:/projects/stargazer/plugin_runner.h?ds=inline 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(); }