]> git.stg.codes - stg.git/blobdiff - projects/rlm_stg/conn.h
Merge branch 'stg-2.409' into stg-2.409-radius
[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();