X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Farchitecture.cpp;h=3dd76fbf19f86e0e52fca14fee800fee04675dd6;hb=4ee988cdd18d919b11355c21e5234c3f28f5d6a7;hp=8bdd1bfe8fceef06070f91c6db73b20111e08b5d;hpb=1f694afd5fc5e282c3e814d4f3a96ff0f7c928cd;p=builder.git diff --git a/source/architecture.cpp b/source/architecture.cpp index 8bdd1bf..3dd76fb 100644 --- a/source/architecture.cpp +++ b/source/architecture.cpp @@ -174,11 +174,11 @@ bool Architecture::match_name(const string &pattern) const return !negate; } -string Architecture::best_match(const list &names) const +string Architecture::best_match(const vector &names) const { string best; unsigned best_size = 0; - for(list::const_iterator i=names.begin(); i!=names.end(); ++i) + for(vector::const_iterator i=names.begin(); i!=names.end(); ++i) if(match_name(*i)) { /* TODO Do full parse and alias resolution here? Otherwise x86 and