X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/392a542a849ec49772db0eb237bb064c4f09008d..ae8b02d528163c599a1238e1d14adc65ee847eea:/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();