Fix compile warnings about initialization order and unused variables
[libt2n] / src / connection.hxx
index d681ed8..f737559 100644 (file)
@@ -48,7 +48,7 @@ class connection
 
     protected:
         connection()
-            : callbacks(__events_end), closed(false)
+            : closed(false), callbacks(__events_end)
             { }
 
         std::string buffer;