Commit b8a7d3bb authored by Paul's avatar Paul
Browse files

Formatting

parent ad2ac47c
......@@ -254,8 +254,9 @@ template <class... Ts>
auto any_of(Ts... ms)
{
return make_bf_matcher([=](matcher_context& ctx, instruction_ref ins) {
bool matches = fold(
[&](auto x, auto y) { return x or y.match(ctx, ins) != ctx.not_found(); })(false, ms...);
bool matches = fold([&](auto x, auto y) {
return x or y.match(ctx, ins) != ctx.not_found();
})(false, ms...);
if(matches)
return ins;
return ctx.not_found();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment