Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3135


Ignore:
Timestamp:
Jun 10, 2009, 12:21:01 AM (15 years ago)
Author:
scheusso
Message:

second part of the improvement

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/netp4/src/network/synchronisable/Synchronisable.cc

    r3134 r3135  
    215215      return it1->second;
    216216
    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
    224225    return NULL;
    225226  }
Note: See TracChangeset for help on using the changeset viewer.