]> git.llucax.com Git - z.facultad/75.42/plaqui.git/blobdiff - Server/src/tcpserver.cpp
Fixes de documentacion.
[z.facultad/75.42/plaqui.git] / Server / src / tcpserver.cpp
index d85490c78bce214e1edcf45b7f75b4bc0b24adab..61d3e11753e7413ea10cca0a948f25e1a518a220 100644 (file)
@@ -156,11 +156,9 @@ void TCPServer::real_run(void) throw() {
                // XXX connections_mutex.unlock(); // Si pongo el mutex antes del run(),
                //                                    muere.
                // Conecto la señal para cuando termina una conexión, borrarla.
-               connection->signal_finished().connect(
-                               SigC::bind<Connection*>(
-                                       SigC::slot_class(*this,
-                                               &TCPServer::on_connection_finished),
-                                       connection));
+               connection->signal_finished().connect(SigC::bind(
+                               SigC::slot_class(*this, &TCPServer::on_connection_finished),
+                               connection));
                connection->run();
        }
 }