mirror of
https://github.com/Z3Prover/z3
synced 2025-04-24 09:35:32 +00:00
clear tactic user propagate state on solver destructor
This commit is contained in:
parent
fdc253afdd
commit
658a334ecf
4 changed files with 23 additions and 5 deletions
|
@ -192,6 +192,10 @@ public:
|
|||
return m_t2->user_propagate_register(e);
|
||||
}
|
||||
|
||||
void user_propagate_clear() override {
|
||||
m_t2->user_propagate_clear();
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
tactic * and_then(tactic * t1, tactic * t2) {
|
||||
|
|
|
@ -56,6 +56,9 @@ namespace user_propagator {
|
|||
virtual unsigned user_propagate_register(expr* e) {
|
||||
throw default_exception("user-propagators are only supported on the SMT solver");
|
||||
}
|
||||
|
||||
virtual void user_propagate_clear() {
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue