X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fconditionalloader.cpp;h=623343549f842100df978091b65f711ddc87aac5;hb=44c71b05ff282b3ce5a2d71c0f14eed97bfefea6;hp=731c5594c312a1d9cd18cd985c325f7806f1bc96;hpb=c5169863e1ec3060d3bdc3b8c0317710ce8c3ee3;p=builder.git diff --git a/source/conditionalloader.cpp b/source/conditionalloader.cpp index 731c559..6233435 100644 --- a/source/conditionalloader.cpp +++ b/source/conditionalloader.cpp @@ -17,7 +17,7 @@ ArchitectureConditional::ArchitectureConditional(const Builder &b, const string void ArchitectureConditional::if_arch(const string &cond) { const Architecture &arch = builder.get_current_arch(); - BooleanEvaluator eval([&arch](const string &value, const string *){ return arch.match_name(value); }, false); + BooleanEvaluator eval([&arch](const string &value){ return arch.match_name(value); }); bool match = eval.evaluate(cond); builder.get_logger().log("configure", format("%s: arch %s %smatched", log_prefix, cond, (match ? "" : "not "))); if(match)