Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 30, 2010, 7:34:07 PM (14 years ago)
Author:
rgrieder
Message:

operator=() should not return constant references.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/libraries/core/ObjectListIterator.h

    r5929 r7268  
    101101                @param element The ObjectListElement
    102102            */
    103             inline const ObjectListIterator<T>& operator=(ObjectListElement<T>* element)
     103            inline ObjectListIterator<T>& operator=(ObjectListElement<T>* element)
    104104            {
    105105                this->element_ = element;
     
    111111                @param element The other ObjectListIterator
    112112            */
    113             inline const ObjectListIterator<T>& operator=(const ObjectListIterator<T>& other)
     113            inline ObjectListIterator<T>& operator=(const ObjectListIterator<T>& other)
    114114            {
    115115                this->element_ = other.element_;
Note: See TracChangeset for help on using the changeset viewer.