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/ClassTreeMask.h

    r5929 r7268  
    194194            inline BaseObject*          end()   const { return 0; }
    195195
    196             const ClassTreeMask& operator=(const ClassTreeMask& other);
     196            ClassTreeMask& operator=(const ClassTreeMask& other);
    197197
    198198            bool operator==(const ClassTreeMask& other) const;
     
    260260            inline ClassTreeMaskObjectIterator(const ClassTreeMask& mask) { (*this) = mask; }
    261261
    262             const ClassTreeMaskObjectIterator& operator=(const ClassTreeMask& mask);
     262            ClassTreeMaskObjectIterator& operator=(const ClassTreeMask& mask);
    263263
    264264            const ClassTreeMaskObjectIterator& operator++();
Note: See TracChangeset for help on using the changeset viewer.