Changeset 1591 for code/branches/core3/src/network/GameStateClient.cc
- Timestamp:
- Jun 12, 2008, 2:00:15 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core3/src/network/GameStateClient.cc
r1574 r1591 33 33 #include "core/CoreIncludes.h" 34 34 #include "core/BaseObject.h" 35 #include "core/Iterator.h" 35 36 #include "Synchronisable.h" 36 37 … … 137 138 * @return iterator pointing to the next object in the list 138 139 */ 139 void GameStateClient::removeObject(orxonox:: Iterator<Synchronisable>&it) {140 orxonox:: Iterator<Synchronisable>temp=it;140 void GameStateClient::removeObject(orxonox::ObjectList<Synchronisable>::iterator &it) { 141 orxonox::ObjectList<Synchronisable>::iterator temp=it; 141 142 ++it; 142 143 delete *temp; … … 151 152 COUT(4) << "loadSnapshot: loading gs: " << state->id << std::endl; 152 153 // get the start of the Synchronisable list 153 orxonox:: Iterator<Synchronisable>it=orxonox::ObjectList<Synchronisable>::begin();154 orxonox::ObjectList<Synchronisable>::iterator it=orxonox::ObjectList<Synchronisable>::begin(); 154 155 syncData sync; 155 156 // loop as long as we have some data ;) … … 222 223 int tempsize=0; 223 224 // get the start of the Synchronisable list 224 orxonox:: Iterator<Synchronisable>it;225 orxonox::ObjectList<Synchronisable>::iterator it; 225 226 // struct for return value of Synchronisable::getData() 226 227 syncData sync;
Note: See TracChangeset
for help on using the changeset viewer.