Skip to content

Commit

Permalink
#5507 missing init
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolajBjorner committed Aug 26, 2021
1 parent 07c2620 commit 4d39af3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/api/c++/z3++.h
Original file line number Diff line number Diff line change
Expand Up @@ -3882,8 +3882,9 @@ namespace z3 {


public:
user_propagator_base(solver* s): s(s), c(nullptr) {}
user_propagator_base(Z3_context c): s(nullptr), c(c) {}
user_propagator_base(solver* s): s(s), c(nullptr) {
Z3_solver_propagate_init(ctx(), *s, push_eh, pop_eh, fresh_eh);
}

virtual void push() = 0;
virtual void pop(unsigned num_scopes) = 0;
Expand Down

0 comments on commit 4d39af3

Please sign in to comment.