Changes in src/Common/ScopedMap.h [1f75e2d:fa2de95]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Common/ScopedMap.h
r1f75e2d rfa2de95 102 102 iterator operator-- (int) { iterator tmp = *this; --(*this); return tmp; } 103 103 104 bool operator== (const iterator &that) {104 bool operator== (const iterator &that) const { 105 105 return scopes == that.scopes && level == that.level && it == that.it; 106 106 } 107 bool operator!= (const iterator &that) { return !( *this == that ); }107 bool operator!= (const iterator &that) const { return !( *this == that ); } 108 108 109 109 size_type get_level() const { return level; } … … 180 180 const_iterator operator-- (int) { const_iterator tmp = *this; --(*this); return tmp; } 181 181 182 bool operator== (const const_iterator &that) {182 bool operator== (const const_iterator &that) const { 183 183 return scopes == that.scopes && level == that.level && it == that.it; 184 184 } 185 bool operator!= (const const_iterator &that) { return !( *this == that ); }185 bool operator!= (const const_iterator &that) const { return !( *this == that ); } 186 186 187 187 size_type get_level() const { return level; }
Note: See TracChangeset
for help on using the changeset viewer.