X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fvssolutionfile.cpp;h=af7e01ff016cbdac5e0833d126857f5b927987a5;hb=302977793935e100a5bf37822836531cafb03bf3;hp=c667fc5b245dd2fa4fad60a16a1ab3c5be696b0e;hpb=7c2db9e2b91da953701be233336c5bfa1f3c4af0;p=builder.git diff --git a/source/vssolutionfile.cpp b/source/vssolutionfile.cpp index c667fc5..af7e01f 100644 --- a/source/vssolutionfile.cpp +++ b/source/vssolutionfile.cpp @@ -25,7 +25,7 @@ void VsSolutionFile::find_dependencies() add_dependency(*project); for(Package *r: spkg->get_required_packages()) - if(find(reqs, r)==reqs.end()) + if(!any_equals(reqs, r)) reqs.push_back(r); } }