Changeset 3532 in orxonox.OLD for orxonox/trunk/src/lib
- Timestamp:
- Mar 13, 2005, 11:08:57 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/util/list.h
r3483 r3532 113 113 this->last = el; 114 114 115 if( this->size == 0) this->first = el;115 if(el->prev == NULL) this->first = el; /* if first element */ 116 116 else el->prev->next = el; 117 117 this->size++; … … 134 134 else this->currentEl->next->prev = this->currentEl->prev; 135 135 136 te = this->currentEl->next; 136 te = this->currentEl->next; // for what am i doing this? 137 137 delete this->currentEl; 138 138 this->currentEl = te;
Note: See TracChangeset
for help on using the changeset viewer.