mirror of
https://github.com/Z3Prover/z3
synced 2025-04-06 17:44:08 +00:00
capture values not reference
This commit is contained in:
parent
af2cc460a9
commit
f2fcbc7cb7
|
@ -875,7 +875,7 @@ extern "C" {
|
|||
init_solver(c, s);
|
||||
solver::push_eh_t _push = push_eh;
|
||||
solver::pop_eh_t _pop = pop_eh;
|
||||
solver::fresh_eh_t _fresh = [&](void * user_ctx, ast_manager& m, solver::context_obj*& _ctx) {
|
||||
solver::fresh_eh_t _fresh = [=](void * user_ctx, ast_manager& m, solver::context_obj*& _ctx) {
|
||||
ast_context_params params;
|
||||
params.set_foreign_manager(&m);
|
||||
auto* ctx = alloc(api::context, ¶ms, false);
|
||||
|
|
Loading…
Reference in a new issue