Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/InitTweak/FixInit.cc

    ra28bc02 redbdbe6  
    656656                                unqExpr->set_result( maybeClone( unqExpr->get_expr()->get_result() ) );
    657657                                if ( unqCount[ unqExpr->get_id() ] == 0 ) {  // insert destructor after the last use of the unique expression
    658                                         stmtsToAdd.splice( stmtsToAddAfter.end(), dtors[ unqExpr->get_id() ] );
     658                                        stmtsToAddAfter.splice( stmtsToAddAfter.end(), dtors[ unqExpr->get_id() ] );
    659659                                }
    660660                                if ( addDeref.count( unqExpr->get_id() ) ) {
     
    669669                        unqMap[unqExpr->get_id()] = unqExpr;
    670670                        if ( unqCount[ unqExpr->get_id() ] == 0 ) {  // insert destructor after the last use of the unique expression
    671                                 stmtsToAdd.splice( stmtsToAddAfter.end(), dtors[ unqExpr->get_id() ] );
     671                                stmtsToAddAfter.splice( stmtsToAddAfter.end(), dtors[ unqExpr->get_id() ] );
    672672                        } else { // remember dtors for last instance of unique expr
    673673                                dtors[ unqExpr->get_id() ] = fixer.stmtsToAddAfter;
Note: See TracChangeset for help on using the changeset viewer.