Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Common/ScopedMap.h

    rccb29b4 r21a2a7d  
    170170        size_type erase( const Key & key ) {
    171171                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;
    174173                }
    175174                return 0;
Note: See TracChangeset for help on using the changeset viewer.