Ignore:
Timestamp:
Feb 27, 2015, 9:59:31 AM (5 years ago)
Author:
nmedfort
Message:

Safer use of initializer_list

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/pablo/codegenstate.h

    r4521 r4524  
    142142    PabloAST * createSel(PabloAST * condition, PabloAST * trueExpr, PabloAST * falseExpr, const std::string prefix);
    143143
    144     If * createIf(PabloAST * condition, std::initializer_list<Assign *> definedVars, PabloBlock & body);
     144    If * createIf(PabloAST * condition, const std::initializer_list<Assign *> definedVars, PabloBlock & body);
    145145
    146146    If * createIf(PabloAST * condition, const std::vector<Assign *> & definedVars, PabloBlock & body);
Note: See TracChangeset for help on using the changeset viewer.