Changeset 747a7c1 for src/Common
- Timestamp:
- Feb 10, 2023, 12:15:06 PM (3 years ago)
- Branches:
- ADT, ast-experimental, master
- Children:
- 966b4c6
- Parents:
- 8fa77eb (diff), 5e3f1e1 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - File:
-
- 1 edited
-
src/Common/ScopedMap.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/Common/ScopedMap.h
r8fa77eb r747a7c1 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.