mirror of
https://github.com/Z3Prover/z3
synced 2025-06-13 09:26:15 +00:00
re-add API for creating propagator from a context for "fresh"
This commit is contained in:
parent
f7c1ed8273
commit
d6848175eb
1 changed files with 3 additions and 1 deletions
|
@ -3882,6 +3882,8 @@ namespace z3 {
|
||||||
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
user_propagator_base(context* c) : s(nullptr), c(c) {}
|
||||||
|
|
||||||
user_propagator_base(solver* s): s(s), c(nullptr) {
|
user_propagator_base(solver* s): s(s), c(nullptr) {
|
||||||
Z3_solver_propagate_init(ctx(), *s, this, push_eh, pop_eh, fresh_eh);
|
Z3_solver_propagate_init(ctx(), *s, this, push_eh, pop_eh, fresh_eh);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue