Ignore:
Timestamp:
Aug 26, 2015, 1:41:38 PM (4 years ago)
Author:
cameron
Message:

Clean ups for compilation with gcc 4.8

File:
1 edited

Legend:

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

    r4723 r4750  
    9696    mUsers.clear();
    9797    assert (expr);
    98     for (auto i = 0; i != users; ++i) {
     98    for (Vector::size_type i = 0; i != users; ++i) {
    9999        user[i]->replaceUsesOfWith(this, expr);
    100100    }
     
    211211Statement * Statement::eraseFromParent(const bool recursively) {
    212212    // remove this statement from its operands' users list
    213     for (auto i = 0; i != mOperands; ++i) {
     213    for (unsigned i = 0; i != mOperands; ++i) {
    214214        mOperand[i]->removeUser(this);
    215215    }
     
    233233
    234234    if (recursively) {
    235         for (auto i = 0; i != mOperands; ++i) {
     235        for (unsigned i = 0; i != mOperands; ++i) {
    236236            PabloAST * const op = mOperand[i];
    237237            if (op->getNumUses() == 0 && isa<Statement>(op)) {
Note: See TracChangeset for help on using the changeset viewer.