Changeset 153 for cpp/frams/vm


Ignore:
Timestamp:
03/01/14 22:20:08 (8 years ago)
Author:
sz
Message:

SList container iteration: FOREACH() macro now creates local variable for maintaining the loop, removed the obsolete SList iteration implementation, replaced some unnecessarily complex for() with FOREACH()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/vm/classes/collectionobj.cpp

    r127 r153  
    248248        {
    249249        VMVEComparator cmp(jto);
    250         ExtValue **first=(ExtValue**)&data.getref();
     250        ExtValue **first=(ExtValue**)&data.getref(0);
    251251        std::sort(first,first+data.size(),cmp);
    252252        }
     
    255255        {
    256256        VEComparator cmp;
    257         ExtValue **first=(ExtValue**)&data.getref();
     257        ExtValue **first=(ExtValue**)&data.getref(0);
    258258        std::sort(first,first+data.size(),cmp);
    259259        }
Note: See TracChangeset for help on using the changeset viewer.