Changeset 331ee52c


Ignore:
Timestamp:
Jan 4, 2023, 9:54:01 AM (23 months ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
ADT, ast-experimental, master
Children:
66a89e7
Parents:
8d9d974
Message:

Should silence a GCC 12 warning.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/GenPoly/Box.cc

    r8d9d974 r331ee52c  
    556556                        // even when converted to strings, sort in the original order.
    557557                        // (At least, that is the best explination I have.)
    558                         for ( std::pair<std::string, TypeDecl::Data> const & tyParam : exprTyVars ) {
     558                        for ( std::pair<const std::string, TypeDecl::Data> const & tyParam : exprTyVars ) {
    559559                                if ( !tyParam.second.isComplete ) continue;
    560560                                Type *concrete = env->lookup( tyParam.first );
Note: See TracChangeset for help on using the changeset viewer.