Ignore:
Timestamp:
Sep 24, 2008, 2:02:16 AM (16 years ago)
Author:
イグトランス (egtra)
Message:

BOOST_FOREACHを可能なものはVC++ 2005 for eachへ置換(やや速くなる)。

File:
1 edited

Legend:

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

    r641 r750  
    1414bool Procedure::Resolve( const ObjectModule &resolver, ResolveErrors &resolveErrors )
    1515{
    16     BOOST_FOREACH( Parameter *pParameter, params )
     16    foreach( Parameter *pParameter, params )
    1717    {
    1818        pParameter->Resolve( resolver, resolveErrors );
     
    8282UserProc::~UserProc()
    8383{
    84     BOOST_FOREACH( Parameter *pParam, realParams ){
     84    foreach( Parameter *pParam, realParams ){
    8585        delete pParam;
    8686    }
     
    219219    }
    220220
    221     BOOST_FOREACH( Parameter *pParameter, realParams )
     221    foreach( Parameter *pParameter, realParams )
    222222    {
    223223        pParameter->Resolve( resolver, resolveErrors );
    224224    }
    225225
    226     BOOST_FOREACH( Variable *pLocalVar, localVars )
     226    foreach( Variable *pLocalVar, localVars )
    227227    {
    228228        pLocalVar->Resolve( resolver, resolveErrors );
     
    270270{
    271271    ProcPointers &procPointers = *this;
    272     BOOST_FOREACH( ProcPointer *pProcPointer, procPointers ){
     272    foreach( ProcPointer *pProcPointer, procPointers ){
    273273        delete pProcPointer;
    274274    }
Note: See TracChangeset for help on using the changeset viewer.