mirror of
https://github.com/Z3Prover/z3
synced 2025-04-24 01:25:31 +00:00
remove 2 unneeded lambda captures
This commit is contained in:
parent
6f24123f0c
commit
2f5c0a6985
2 changed files with 2 additions and 2 deletions
|
@ -52,7 +52,7 @@ expr_ref var_subst::operator()(expr * n, unsigned num_args, expr * const * args)
|
|||
rep(n, result);
|
||||
return result;
|
||||
}
|
||||
if (is_app(n) && all_of(*to_app(n), [&](expr* arg) { return is_ground(arg) || is_var(arg); })) {
|
||||
if (is_app(n) && all_of(*to_app(n), [](expr* arg) { return is_ground(arg) || is_var(arg); })) {
|
||||
ptr_buffer<expr> new_args;
|
||||
for (auto arg : *to_app(n)) {
|
||||
if (is_ground(arg))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue