3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-23 17:15:31 +00:00

remove 2 unneeded lambda captures

This commit is contained in:
Nuno Lopes 2024-12-17 16:02:24 +00:00
parent 6f24123f0c
commit 2f5c0a6985
2 changed files with 2 additions and 2 deletions

View file

@ -102,7 +102,7 @@ namespace qembp {
SASSERT(num == accessors->size());
// -- all accessors must have exactly one argument
if (any_of(*accessors, [&](const func_decl* acc) { return acc->get_arity() != 1; })) {
if (any_of(*accessors, [](const func_decl* acc) { return acc->get_arity() != 1; })) {
return BR_FAILED;
}