3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-24 01:25:31 +00:00

capture i by value

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2019-06-04 12:42:35 -07:00 committed by Nuno Lopes
parent 27971e3f68
commit 7f74382863
4 changed files with 36 additions and 38 deletions

View file

@ -59,7 +59,7 @@ public:
}
~smt_tactic() override {
SASSERT(m_ctx == 0);
SASSERT(m_ctx == nullptr);
}
smt_params & fparams() {
@ -132,7 +132,6 @@ public:
new_ctx->set_progress_callback(o.m_callback);
}
o.m_ctx = new_ctx;
}
~scoped_init_ctx() {
@ -208,7 +207,7 @@ public:
m_ctx->collect_statistics(m_stats);
throw;
}
SASSERT(m_ctx);
SASSERT(m_ctx);
m_ctx->collect_statistics(m_stats);
proof * pr = m_ctx->get_proof();
TRACE("smt_tactic", tout << r << " " << pr << "\n";);