X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fbinarycomponent.cpp;h=49c4897ce69d7d25492ebe1521257dca04c77062;hb=54d0a3516164312bf9d04f455e2aad2af225aa51;hp=74ac0baf5c550ce3a349581da8a730d52a64d054;hpb=4e2a160d94ca808cfb511cc2d38e115d989809f2;p=builder.git diff --git a/source/binarycomponent.cpp b/source/binarycomponent.cpp index 74ac0ba..49c4897 100644 --- a/source/binarycomponent.cpp +++ b/source/binarycomponent.cpp @@ -56,7 +56,7 @@ void BinaryComponent::create_targets() const list objs; SourceList source_filenames = collect_source_files(); - for(SourceList::const_iterator i=source_filenames.begin(); i!=source_filenames.end(); ++i) + for(SourceList::iterator i=source_filenames.begin(); i!=source_filenames.end(); ++i) { string ext = FS::extpart(FS::basename(*i)); Target *src = 0; @@ -71,7 +71,7 @@ void BinaryComponent::create_targets() const if(processing_unit!=Tool::ONE_FILE) { FS::Path source_dir = FS::dirname(*i); - SourceList::const_iterator j = i; + SourceList::iterator j = i; for(++j; j!=source_filenames.end(); ) { if((processing_unit!=Tool::DIRECTORY || FS::dirname(*j)==source_dir) &&