X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/392a542a849ec49772db0eb237bb064c4f09008d..fad2dd8911abd78eaf95005e68c32796650a091a:/projects/rlm_stg/conn.h?ds=sidebyside diff --git a/projects/rlm_stg/conn.h b/projects/rlm_stg/conn.h index 4e7acc9b..cecc0802 100644 --- a/projects/rlm_stg/conn.h +++ b/projects/rlm_stg/conn.h @@ -39,7 +39,7 @@ class Conn { public: struct Error : std::runtime_error { - Error(const std::string& message) : runtime_error(message) {} + explicit Error(const std::string& message) : runtime_error(message) {} }; typedef bool (*Callback)(void* /*data*/, const RESULT& /*result*/, bool /*status*/);