]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/configuration/sgconfig/conn.h
Explicit prohibition of the PLUGIN_LOGGER assignment.
[stg.git] / projects / stargazer / plugins / configuration / sgconfig / conn.h
index c67c972eb98df40b9f359bab4852f1348fef28a1..ed2e64d1ba780862c161840de87003fe400f4673 100644 (file)
@@ -53,7 +53,7 @@ class Conn
     public:
         struct Error : public std::runtime_error
         {
     public:
         struct Error : public std::runtime_error
         {
-            Error(const std::string& message) : runtime_error(message.c_str()) {}
+            explicit Error(const std::string& message) : runtime_error(message.c_str()) {}
         };
 
         Conn(const BASE_PARSER::REGISTRY & registry,
         };
 
         Conn(const BASE_PARSER::REGISTRY & registry,