[Orxonox-commit 603] r3135 - branches/netp4/src/network/synchronisable
scheusso at orxonox.net
scheusso at orxonox.net
Wed Jun 10 00:21:01 CEST 2009
Author: scheusso
Date: 2009-06-10 00:21:01 +0200 (Wed, 10 Jun 2009)
New Revision: 3135
Modified:
branches/netp4/src/network/synchronisable/Synchronisable.cc
Log:
second part of the improvement
Modified: branches/netp4/src/network/synchronisable/Synchronisable.cc
===================================================================
--- branches/netp4/src/network/synchronisable/Synchronisable.cc 2009-06-09 21:15:16 UTC (rev 3134)
+++ branches/netp4/src/network/synchronisable/Synchronisable.cc 2009-06-09 22:21:01 UTC (rev 3135)
@@ -214,13 +214,14 @@
if (it1 != objectMap_.end())
return it1->second;
- ObjectList<Synchronisable>::iterator it;
- for(it = ObjectList<Synchronisable>::begin(); it; ++it){
- if( it->getObjectID()==objectID ){
- objectMap_[objectID] = *it;
- return *it;
- }
- }
+// ObjectList<Synchronisable>::iterator it;
+// for(it = ObjectList<Synchronisable>::begin(); it; ++it){
+// if( it->getObjectID()==objectID ){
+// objectMap_[objectID] = *it;
+// return *it;
+// }
+// }
+ // if the objects not in the map it should'nt exist at all anymore
return NULL;
}
More information about the Orxonox-commit
mailing list