Fix compile warnings about initialization order and unused variables
[libt2n] / src / socket_server.hxx
index f3dd1c5..ae30833 100644 (file)
@@ -79,7 +79,7 @@ class socket_server_connection : public socket_handler, public server_connection
 
     private:
         socket_server_connection(int _sock, socket_type_value _stype, int _timeout)
-           : server_connection(_timeout), socket_handler(_sock,_stype)
+           : socket_handler(_sock,_stype), server_connection(_timeout)
            { }
 
         ~socket_server_connection();