Changeset 747a7c1 for src/Common


Ignore:
Timestamp:
Feb 10, 2023, 12:15:06 PM (3 years ago)
Author:
Peter A. Buhr <pabuhr@…>
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.
Message:

Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Common/ScopedMap.h

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