Changeset 5793 in orxonox.OLD for trunk/src/lib
- Timestamp:
- Nov 27, 2005, 4:27:21 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/lang/class_list.cc
r5792 r5793 89 89 list<ClassList>::iterator cl; 90 90 for(cl = ClassList::classList->begin(); cl != ClassList::classList->end(); cl++) 91 { 91 92 if (objectPointer->isA((*cl).classID)) 92 (*cl).objectList.remove(objectPointer); 93 { 94 std::list<BaseObject*>::iterator bo; 95 for (bo = (*cl).objectList.begin(); bo != (*cl).objectList.end(); bo++) 96 { 97 if ((*bo) == objectPointer) 98 { 99 (*cl).objectList.erase(bo); 100 break; 101 } 102 } 103 } 104 } 93 105 } 94 106
Note: See TracChangeset
for help on using the changeset viewer.