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/BasicCompiler_Common/DebugMiddleFile.cpp

    r743 r750  
    104104        // オブジェクトモジュールリストに類似したソースコードリストを作成
    105105        BasicSources sources;
    106         BOOST_FOREACH( const ObjectModule *pObjectModule, compiler.staticLibraries )
     106        foreach( const ObjectModule *pObjectModule, compiler.staticLibraries )
    107107        {
    108108            sources.push_back( pObjectModule->GetSource() );
     
    138138    *(long *)(buffer+i2)=(long)sourceLines.size();
    139139    i2+=sizeof(long);
    140     BOOST_FOREACH( const SourceLine &sourceLine, sourceLines )
     140    foreach( const SourceLine &sourceLine, sourceLines )
    141141    {
    142142        *(long *)(buffer+i2) = sourceLine.GetNativeCodePos();
     
    173173    memcpy(buffer,OpBuffer,SizeOf_CodeSection);
    174174
    175     BOOST_FOREACH( const SourceLine &sourceLine, _oldSourceLines )
     175    foreach( const SourceLine &sourceLine, _oldSourceLines )
    176176    {
    177177        if(!(
     
    433433DebugSectionCollection::~DebugSectionCollection()
    434434{
    435     BOOST_FOREACH( DebugSection *pDebugSection, debugSections )
     435    foreach( DebugSection *pDebugSection, debugSections )
    436436    {
    437437        delete pDebugSection;
Note: See TracChangeset for help on using the changeset viewer.