Ignore:
Timestamp:
Mar 19, 2012, 1:59:48 AM (12 years ago)
Author:
イグトランス (egtra)
Message:

egtraブランチの内容をマージ。

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/ab5.0/jenga/include/common/VectorSupporter.h

    r624 r828  
    77template<class T> void EraseVectorItem( T &v, int index )
    88{
    9     T::iterator it = v.begin();
    10     int i = 0;
    11     while( i < index )
    12     {
    13         i ++;
    14         it ++;
    15     }
    16     v.erase( it );
     9    v.erase(v.begin() + index);
    1710}
    1811
Note: See TracChangeset for help on using the changeset viewer.