Changes in src/Common/ScopedMap.h [ccb29b4:21a2a7d]
- File:
-
- 1 edited
-
src/Common/ScopedMap.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/Common/ScopedMap.h
rccb29b4 r21a2a7d 170 170 size_type erase( const Key & key ) { 171 171 for ( auto it = scopes.rbegin() ; it != scopes.rend() ; ++it ) { 172 size_type i = it->map.erase( key ); 173 if ( 0 != i ) return i; 172 if ( size_type i = it->map.erase( key ) ; 0 != i ) return i; 174 173 } 175 174 return 0;
Note:
See TracChangeset
for help on using the changeset viewer.