Changes in / [7ba3a25:b2b039d]


Ignore:
Location:
src/GenPoly
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/GenPoly/ScopedMap.h

    r7ba3a25 rb2b039d  
    9090                                return next_valid();
    9191                        }
    92                         iterator& operator++ (int) { iterator tmp = *this; ++(*this); return tmp; }
     92                        iterator operator++ (int) { iterator tmp = *this; ++(*this); return tmp; }
    9393
    9494                        iterator& operator-- () {
     
    101101                                return prev_valid();
    102102                        }
    103                         iterator& operator-- (int) { iterator tmp = *this; --(*this); return tmp; }
     103                        iterator operator-- (int) { iterator tmp = *this; --(*this); return tmp; }
    104104
    105105                        bool operator== (const iterator &that) {
     
    166166                                return next_valid();
    167167                        }
    168                         const_iterator& operator++ (int) { const_iterator tmp = *this; ++(*this); return tmp; }
     168                        const_iterator operator++ (int) { const_iterator tmp = *this; ++(*this); return tmp; }
    169169
    170170                        const_iterator& operator-- () {
     
    177177                                return prev_valid();
    178178                        }
    179                         const_iterator& operator-- (int) { const_iterator tmp = *this; --(*this); return tmp; }
     179                        const_iterator operator-- (int) { const_iterator tmp = *this; --(*this); return tmp; }
    180180
    181181                        bool operator== (const const_iterator &that) {
  • src/GenPoly/ScopedSet.h

    r7ba3a25 rb2b039d  
    8787                                return next_valid();
    8888                        }
    89                         iterator& operator++ (int) { iterator tmp = *this; ++(*this); return tmp; }
     89                        iterator operator++ (int) { iterator tmp = *this; ++(*this); return tmp; }
    9090
    9191                        iterator& operator-- () {
     
    9898                                return prev_valid();
    9999                        }
    100                         iterator& operator-- (int) { iterator tmp = *this; --(*this); return tmp; }
     100                        iterator operator-- (int) { iterator tmp = *this; --(*this); return tmp; }
    101101
    102102                        bool operator== (const iterator &that) {
     
    163163                                return next_valid();
    164164                        }
    165                         const_iterator& operator++ (int) { const_iterator tmp = *this; ++(*this); return tmp; }
     165                        const_iterator operator++ (int) { const_iterator tmp = *this; ++(*this); return tmp; }
    166166
    167167                        const_iterator& operator-- () {
     
    174174                                return prev_valid();
    175175                        }
    176                         const_iterator& operator-- (int) { const_iterator tmp = *this; --(*this); return tmp; }
     176                        const_iterator operator-- (int) { const_iterator tmp = *this; --(*this); return tmp; }
    177177
    178178                        bool operator== (const const_iterator &that) {
Note: See TracChangeset for help on using the changeset viewer.