Changeset 3135
- Timestamp:
- Jun 10, 2009, 12:21:01 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/netp4/src/network/synchronisable/Synchronisable.cc
r3134 r3135 215 215 return it1->second; 216 216 217 ObjectList<Synchronisable>::iterator it; 218 for(it = ObjectList<Synchronisable>::begin(); it; ++it){ 219 if( it->getObjectID()==objectID ){ 220 objectMap_[objectID] = *it; 221 return *it; 222 } 223 } 217 // ObjectList<Synchronisable>::iterator it; 218 // for(it = ObjectList<Synchronisable>::begin(); it; ++it){ 219 // if( it->getObjectID()==objectID ){ 220 // objectMap_[objectID] = *it; 221 // return *it; 222 // } 223 // } 224 // if the objects not in the map it should'nt exist at all anymore 224 225 return NULL; 225 226 }
Note: See TracChangeset
for help on using the changeset viewer.