Ignore:
Timestamp:
Feb 11, 2011, 10:05:14 PM (13 years ago)
Author:
イグトランス (egtra)
Message:

Hashmapの実装にunorderedを用いるよう変更

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/egtra/ab5.0/abdev/ab_common/src/Lexical/Procedure.cpp

    r750 r803  
    243243
    244244    // ハッシュ値を取得
    245     UserProc *pUserProc = GetHashArrayElement( simpleName );
    246     while(pUserProc){
     245    foreach (auto pUserProc, GetHashArrayElement( simpleName ))
     246    {
    247247        if( pUserProc->IsGlobalProcedure() ){
    248248            if( pUserProc->IsEqualSymbol( localSymbol ) ){
     
    250250            }
    251251        }
    252 
    253         pUserProc=pUserProc->GetChainNext();
    254252    }
    255253}
Note: See TracChangeset for help on using the changeset viewer.