- Timestamp:
- Mar 27, 2013, 11:17:45 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core6/src/libraries/core/object/MetaObjectList.cc
r9563 r9593 48 48 MetaObjectListElement::~MetaObjectListElement() 49 49 { 50 orxout(verbose, context::object_list) << "Removing Object from " << this->list_->getIdentifier()->getName() << "-list." << endl; 51 this->list_->notifyIterators(this->element_->objectBase_); 52 53 if (this->element_->next_) 54 this->element_->next_->prev_ = this->element_->prev_; 55 else 56 this->list_->last_ = this->element_->prev_; // If there is no next_, we deleted the last object and have to update the last_ pointer of the list 57 58 if (this->element_->prev_) 59 this->element_->prev_->next_ = this->element_->next_; 60 else 61 this->list_->first_ = this->element_->next_; // If there is no prev_, we deleted the first object and have to update the first_ pointer of the list 62 50 this->list_->removeElement(this->element_); 63 51 delete this->element_; 64 52 }
Note: See TracChangeset
for help on using the changeset viewer.