X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fbinarycomponent.cpp;h=f1aaa0eb006b22a5366a1b5bc12766e08806b45e;hb=799d256e952913524c5e51a59c836e7a4cb52ea5;hp=2cd6f853ca42db8472e7c4193c1e5f633d5f605f;hpb=7c2db9e2b91da953701be233336c5bfa1f3c4af0;p=builder.git diff --git a/source/binarycomponent.cpp b/source/binarycomponent.cpp index 2cd6f85..f1aaa0e 100644 --- a/source/binarycomponent.cpp +++ b/source/binarycomponent.cpp @@ -54,7 +54,7 @@ void BinaryComponent::create_targets() const const Toolchain &pkg_tools = package.get_toolchain(); list objs; - SourceList source_filenames = collect_source_files(); + list source_filenames = collect_source_files(); for(auto i=source_filenames.begin(); i!=source_filenames.end(); ++i) { string ext = FS::extpart(FS::basename(*i)); @@ -70,7 +70,7 @@ void BinaryComponent::create_targets() const if(processing_unit!=Tool::ONE_FILE) { FS::Path source_dir = FS::dirname(*i); - SourceList::iterator j = i; + auto j = i; for(++j; j!=source_filenames.end(); ) { if((processing_unit!=Tool::DIRECTORY || FS::dirname(*j)==source_dir) &&