X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fdatacollection.cpp;fp=source%2Fdatacollection.cpp;h=c34c9cc7949c1d73c657cdf27c8e2520866f19c9;hb=7c2db9e2b91da953701be233336c5bfa1f3c4af0;hp=66e9a042012b9d797cfa866b3a70cd3c7b16da86;hpb=32d6218afe58969f2b18dfa6e262bb9509829abe;p=builder.git diff --git a/source/datacollection.cpp b/source/datacollection.cpp index 66e9a04..c34c9cc 100644 --- a/source/datacollection.cpp +++ b/source/datacollection.cpp @@ -22,7 +22,6 @@ Msp::FS::Path DataCollection::generate_target_path(const Component &comp, const void DataCollection::find_dependencies() { source.prepare(); - const Target::Dependencies &tdeps = source.get_transitive_dependencies(); - for(Target::Dependencies::const_iterator i=tdeps.begin(); i!=tdeps.end(); ++i) - add_dependency(**i); + for(Target *d: source.get_transitive_dependencies()) + add_dependency(*d); }