}
i++;
}
+
i = lista_lineas_in.begin();
while ( i != lista_lineas_in.end() ){
if ( (*i).logic->get_id() == _id ) {
i = lista_lineas_in.begin();
}
i++;
+ }
+
+ i = lista_lineas_out.begin();
+ while ( i != lista_lineas_out.end() ){
+ if ( (*i).store->get_id() == _id ) {
+ lista_lineas_out.erase(i);
+ i = lista_lineas_out.begin();
+ }
+ i++;
}
+ i = lista_lineas_out.begin();
+ while ( i != lista_lineas_out.end() ){
+ if ( (*i).logic->get_id() == _id ) {
+ lista_lineas_out.erase(i);
+ i = lista_lineas_out.begin();
+ }
+ i++;
+ }
+
}
void WorkPlace::update_logic_position()