]> git.llucax.com Git - z.facultad/75.42/plaqui.git/blobdiff - Constructor/src/workplace.cpp
Se pasa la conexion suicida al finish del TCPServer para que sea 'transparente'.
[z.facultad/75.42/plaqui.git] / Constructor / src / workplace.cpp
index 1d93082b19ac460dd8f01e5aca73bde0d3d16f8a..1666c8a7d68b53d8ef668ae645e6bfe2fdc69fef 100644 (file)
@@ -60,7 +60,6 @@ void WorkPlace::delete_item(int _id)
        while ( i != listaItems->end() ){
        CItem *temp = *i;
                if ( temp->get_id() == _id ){
-//                     delete_line(_id);
                        listaItems->erase(i);
                        delete temp;
                        break;
@@ -71,7 +70,6 @@ void WorkPlace::delete_item(int _id)
        while ( i != lista_logic_Items->end() ){
        CItem *temp = *i;
                if ( temp->get_id() == _id ){
-//                     delete_line(_id);
                        lista_logic_Items->erase(i);
                        delete temp;
                        break;