- Timestamp:
- Jun 6, 2006, 10:45:41 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/lib/network/network_stream.cc
r8153 r8174 264 264 265 265 //check if connections are ok else remove them 266 for ( PeerList::iterator it = peers.begin(); it != peers.end(); it++)266 for ( PeerList::iterator it = peers.begin(); it != peers.end(); ) 267 267 { 268 268 if ( … … 297 297 298 298 freeSocketSlots.push_back( it->second.userId ); 299 300 } 299 300 PeerList::iterator delit = it; 301 it++; 302 303 peers.erase( delit ); 304 305 continue; 306 } 307 308 it++; 301 309 } 302 310
Note: See TracChangeset
for help on using the changeset viewer.