Changeset ccb29b4 for src/Common/ScopedMap.h
- Timestamp:
- Feb 6, 2023, 11:58:16 AM (20 months ago)
- Branches:
- ADT, ast-experimental, master
- Children:
- 2ed94a9, 4616622
- Parents:
- 35d1de5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Common/ScopedMap.h
r35d1de5 rccb29b4 170 170 size_type erase( const Key & key ) { 171 171 for ( auto it = scopes.rbegin() ; it != scopes.rend() ; ++it ) { 172 if ( size_type i = it->map.erase( key ) ; 0 != i ) return i; 172 size_type i = it->map.erase( key ); 173 if ( 0 != i ) return i; 173 174 } 174 175 return 0;
Note: See TracChangeset
for help on using the changeset viewer.