]> git.stg.codes - stg.git/blobdiff - projects/rlm_stg/conn.h
Added ability to optionally transfer resetable value to a real var.
[stg.git] / projects / rlm_stg / conn.h
index 4e7acc9b04998cd6287f0ce5c6623a2886a3f3cf..6233b15414c9f2c425e453be310ada42430a2078 100644 (file)
@@ -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();