]> git.llucax.com Git - z.facultad/75.42/plaqui.git/blobdiff - Server/src/serverconnection.cpp
Se mueve el mutex a la clase que tiene el recurso a proteger.
[z.facultad/75.42/plaqui.git] / Server / src / serverconnection.cpp
index a5cbea395c15b7e041060120801cbba87e5a812e..6cbe0f3d7a4a35b0d91799c078d48ab6ac7f1e70 100644 (file)
@@ -38,14 +38,14 @@ PlaQui::Server::ServerConnection::~ServerConnection(void) {
 }
 
 PlaQui::Server::ServerConnection::ServerConnection(const sockbuf::sockdesc& sd):
 }
 
 PlaQui::Server::ServerConnection::ServerConnection(const sockbuf::sockdesc& sd):
-               PlaQui::Server::Connection(sd) {
+               Connection(sd) {
 #ifdef DEBUG
        std::cerr << __FILE__ << ": sd = " << sd.sock << std::endl;
 #endif // DEBUG
 }
 
 PlaQui::Server::ServerConnection::ServerConnection(sockbuf::type type):
 #ifdef DEBUG
        std::cerr << __FILE__ << ": sd = " << sd.sock << std::endl;
 #endif // DEBUG
 }
 
 PlaQui::Server::ServerConnection::ServerConnection(sockbuf::type type):
-               PlaQui::Server::Connection(type) {
+               Connection(type) {
 #ifdef DEBUG
        std::cerr << __FILE__ << ": type = " << type << std::endl;
 #endif // DEBUG
 #ifdef DEBUG
        std::cerr << __FILE__ << ": type = " << type << std::endl;
 #endif // DEBUG