Changeset 5823 for code/branches/core5/src/libraries/core/OrxonoxClass.cc
- Timestamp:
- Sep 28, 2009, 5:16:36 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core5/src/libraries/core/OrxonoxClass.cc
r5805 r5823 36 36 #include "MetaObjectList.h" 37 37 #include "Identifier.h" 38 #include "WeakPtr.h" 38 39 39 40 namespace orxonox … … 62 63 if (this->parents_) 63 64 delete this->parents_; 65 66 // reset all weak pointers pointing to this object 67 for (std::set<WeakPtr<OrxonoxClass>*>::iterator it = this->weakPointers_.begin(); it != this->weakPointers_.end(); ) 68 (*(it++))->reset(); 64 69 } 65 70
Note: See TracChangeset
for help on using the changeset viewer.