X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fbinarypackage.cpp;h=02b9be21d7b58966a323ea66f295af14f0158d7f;hb=b45cfe5e437ca79bb3176618769628c58c0734d1;hp=2c32d87769a76a48f7ce9a2bb2a5414486b42ff3;hpb=7c2db9e2b91da953701be233336c5bfa1f3c4af0;p=builder.git diff --git a/source/binarypackage.cpp b/source/binarypackage.cpp index 2c32d87..02b9be2 100644 --- a/source/binarypackage.cpp +++ b/source/binarypackage.cpp @@ -1,4 +1,4 @@ -#include +#include #include #include #include "binarypackage.h" @@ -24,7 +24,7 @@ BinaryPackage *BinaryPackage::from_flags(Builder &builder, const string &name, c Flags exclusive_static_flags; for(const string &f: static_flags) - if(find(flags.begin(), flags.end(), f)==flags.end()) + if(!any_equals(flags, f)) exclusive_static_flags.push_back(f); process_flags(exclusive_static_flags, pkg->static_binfo);