Changeset 5120 in orxonox.OLD for trunk/src/lib/util
- Timestamp:
- Aug 25, 2005, 12:08:04 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/util/list.h
r5118 r5120 465 465 * grabs the iterator entity from another iterator 466 466 * @param iterator the iterator to grab the local currentEl from 467 * @returns the grabbed element (current). 467 * @returns the grabbed element (current). NULL if not found, or not defined 468 * 469 * Both iterators must be from the same List! 468 470 */ 469 471 template<class T> 470 472 T* tIterator<T>::iteratorElement(const tIterator<T>* iterator) 471 473 { 472 if (iterator != NULL )474 if (iterator != NULL && iterator->list == this->list) 473 475 { 474 476 this->currentEl = iterator->currentEl;
Note: See TracChangeset
for help on using the changeset viewer.