Ignore:
Timestamp:
May 10, 2016, 12:12:41 AM (3 years ago)
Author:
nmedfort
Message:

UnicodeSet? bug fix and compile warning clean-up.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/pablo/ps_if.cpp

    r4896 r5037  
    55namespace pablo {
    66
     7If::DefinedAllocator If::mDefinedAllocator;
     8
    79If::If(PabloAST * expr, const std::initializer_list<Assign *> definedVars, PabloBlock * body)
    810: Statement(ClassTypeId::If, {expr}, nullptr)
    911, mBody(body)
    10 , mDefined(definedVars.begin(), definedVars.end(), reinterpret_cast<DefinedAllocator &>(mAllocator)) {
     12, mDefined(definedVars.begin(), definedVars.end(), mDefinedAllocator) {
    1113    // Conceptually, having a defined var X is identical to having:
    1214    //
     
    3032: Statement(ClassTypeId::If, {expr}, nullptr)
    3133, mBody(body)
    32 , mDefined(definedVars.begin(), definedVars.end(), reinterpret_cast<DefinedAllocator &>(mAllocator)) {
     34, mDefined(definedVars.begin(), definedVars.end(), mDefinedAllocator) {
    3335    mBody->setBranch(this);
    3436    mBody->setParent(getParent());
Note: See TracChangeset for help on using the changeset viewer.