Changeset 805 for code/branches/core/src/orxonox/core/Iterator.h
- Timestamp:
- Feb 12, 2008, 4:24:14 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core/src/orxonox/core/Iterator.h
r790 r805 150 150 @return True if the iterator points to an existing object. 151 151 */ 152 bool operator!=( intcompare)152 bool operator!=(ObjectListElement<T>* compare) 153 153 { 154 // Comparing with anything except zero makes no sense 155 if (compare != 0) 156 COUT(2) << "Warning: Comparing the " << ClassIdentifier<T>::getIdentifier()->getName() << "-List-Iterator with " << compare << " has no effect. Only comparison with 0 works." << std::endl; 157 158 return (this->element_ != 0); 154 return (this->element_ != compare); 159 155 } 160 156
Note: See TracChangeset
for help on using the changeset viewer.