Changeset 9628 for code/branches/core6
- Timestamp:
- Aug 9, 2013, 11:28:52 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core6/src/libraries/core/object/ObjectListBase.cc
r9608 r9628 68 68 ObjectListBase::~ObjectListBase() 69 69 { 70 while (this->first_) 71 delete this->first_; 70 ObjectListBaseElement* current = this->first_; 71 while (current) 72 { 73 ObjectListBaseElement* next = current->next_; 74 75 current->list_ = 0; 76 current->next_ = 0; 77 current->prev_ = 0; 78 79 current = next; 80 } 72 81 } 73 82
Note: See TracChangeset
for help on using the changeset viewer.