Skip to content

Commit

Permalink
add ad-hoc any-of for cross compatibility and simplifying interface
Browse files Browse the repository at this point in the history
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
  • Loading branch information
NikolajBjorner committed Nov 4, 2022
1 parent 49d1490 commit 7bb962d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ast/simplifiers/model_reconstruction_trail.h
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ class model_reconstruction_trail {
}

bool intersects(ast_mark const& free_vars, vector<dependent_expr> const& added) {
return std::any_of(added.begin(), added.end(), [&](dependent_expr const& d) { return intersects(free_vars, d); });
return any_of(added, [&](dependent_expr const& d) { return intersects(free_vars, d); });
}

public:
Expand Down

0 comments on commit 7bb962d

Please sign in to comment.