Changeset ccb29b4


Ignore:
Timestamp:
Feb 6, 2023, 11:58:16 AM (13 months ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
ADT, ast-experimental, master
Children:
2ed94a9, 4616622
Parents:
35d1de5
Message:

This should fix the issues with building with older gcc versions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Common/ScopedMap.h

    r35d1de5 rccb29b4  
    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.