Changeset 1ac1f0b


Ignore:
Timestamp:
Dec 3, 2020, 10:46:19 PM (4 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
f7386f7
Parents:
a9a1d06
Message:

rename iterators to remove cast

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/bits/multi_list.cfa

    ra9a1d06 r1ac1f0b  
    3838        }
    3939
    40         SeqIter(TaskDL) iter;
     40        SeqIter(TaskDL) sqiter;
    4141        TaskDL & dl;
    4242
    4343        sout | nlOff;
    44         for ( over( iter, clustList ); iter >> dl; ) {          // print lists
     44        for ( over( sqiter, clustList ); sqiter >> dl; ) {              // print lists
    4545                sout | &task( dl );
    4646        }
     
    6363                push( mutexStack, task.clusterRef );                    // insert on lists in opposite directions
    6464        }
    65         for ( StackIter(TaskDL) iter = { mutexStack }; (StackIter(TaskDL) &)iter >> dl; ) { // cast required
     65        for ( StackIter(TaskDL) stiter = { mutexStack }; stiter >> dl; ) {
    6666                sout | &task( dl );
    6767        }
Note: See TracChangeset for help on using the changeset viewer.