Changeset 462a7c7 for src/ResolvExpr


Ignore:
Timestamp:
Jun 14, 2019, 11:56:12 AM (5 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
120a28c3
Parents:
21300d7
Message:

Removed non-moving assignment on ParamEntry? to help debugging

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/ResolvExpr/ResolveAssertions.cc

    r21300d7 r462a7c7  
    325325                                        entry.second.expr = postmutate( entry.second.expr );
    326326                                        // xxx - look at entry.second.inferParams?
    327                                         expr->inferParams[ entry.first ] = entry.second;
     327                                        auto res = expr->inferParams.emplace( entry.first, entry.second );
     328                                        assert(res.second);
    328329                                }
    329330                        }
Note: See TracChangeset for help on using the changeset viewer.