]> 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 2d0c22c4e069145cbc0f6adf35be40aa4b8c1eea..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,