X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/392a542a849ec49772db0eb237bb064c4f09008d..8c6fa3fbaccc22127280bf77a48fab5a3ee0716e:/projects/rlm_stg/conn.h diff --git a/projects/rlm_stg/conn.h b/projects/rlm_stg/conn.h index 4e7acc9b..6233b154 100644 --- a/projects/rlm_stg/conn.h +++ b/projects/rlm_stg/conn.h @@ -39,10 +39,10 @@ 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*/); + typedef bool (*Callback)(void* /*data*/, const RESULT& /*result*/); Conn(const std::string& address, Callback callback, void* data); ~Conn();