- Timestamp:
- Dec 9, 2008, 5:38:00 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/objecthierarchy2/src/orxonox/objects/worldentities/WorldEntity.cc
r2254 r2365 73 73 this->node_->detachAllObjects(); 74 74 75 for (std::set<WorldEntity*>::const_iterator it = this->children_.begin(); it != this->children_.end(); ++it)76 delete (* it);75 for (std::set<WorldEntity*>::const_iterator it = this->children_.begin(); it != this->children_.end(); ) 76 delete (*(it++)); 77 77 78 78 if (this->parent_)
Note: See TracChangeset
for help on using the changeset viewer.