Changeset 222
- Timestamp:
- Nov 20, 2007, 5:22:07 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/objecthierarchie/src/ObjectList.cc
r221 r222 75 75 delete temp->next_; 76 76 temp->next_ = temp2; 77 temp2->prev_ = temp; 77 if (temp2) 78 temp2->prev_ = temp; 79 else 80 this->last_ = temp; 78 81 79 82 return; … … 102 105 delete temp->prev_; 103 106 temp->prev_ = temp2; 104 temp2->next_ = temp; 107 if (temp2) 108 temp2->next_ = temp; 109 else 110 this->first_ = temp; 105 111 106 112 return;
Note: See TracChangeset
for help on using the changeset viewer.