Changeset 11054 for code/branches/cpp11_v3/src/libraries/network/Client.cc
- Timestamp:
- Jan 10, 2016, 1:54:11 PM (9 years ago)
- Location:
- code/branches/cpp11_v3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cpp11_v3
- Property svn:mergeinfo changed
-
code/branches/cpp11_v3/src/libraries/network/Client.cc
r10624 r11054 161 161 { 162 162 std::vector<packet::Gamestate*> gamestates = GamestateManager::getGamestates(); 163 std::vector<packet::Gamestate*>::iterator it; 164 for( it = gamestates.begin(); it != gamestates.end(); ++it ) 163 for( packet::Gamestate* gamestate : gamestates ) 165 164 { 166 (*it)->send( static_cast<Host*>(this) );165 gamestate->send( static_cast<Host*>(this) ); 167 166 } 168 167 }
Note: See TracChangeset
for help on using the changeset viewer.