Changeset 3197
- Timestamp:
- Jun 20, 2009, 3:26:42 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/netp4/src/network/TrafficControl.cc
r3137 r3197 314 314 void TrafficControl::clientDisconnected(unsigned int clientID) 315 315 { 316 assert(clientListTemp_.find(clientID) != clientListTemp_.end() ); 317 assert(clientListPerm_.find(clientID) != clientListPerm_.end() ); 318 clientListTemp_.erase(clientListTemp_.find(clientID)); 319 clientListPerm_.erase(clientListPerm_.find(clientID)); 316 if(bActive_) 317 { 318 assert(clientListTemp_.find(clientID) != clientListTemp_.end() ); 319 assert(clientListPerm_.find(clientID) != clientListPerm_.end() ); 320 clientListTemp_.erase(clientListTemp_.find(clientID)); 321 clientListPerm_.erase(clientListPerm_.find(clientID)); 322 } 320 323 } 321 324
Note: See TracChangeset
for help on using the changeset viewer.