3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-06 17:44:08 +00:00

use virtual destructors

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2020-08-26 11:26:10 -07:00
parent 1a36d44450
commit 9c77fbc2a9
3 changed files with 3 additions and 0 deletions

View file

@ -46,6 +46,7 @@ namespace sat {
literal internalize_xor(expr* e, bool sign, bool root);
public:
ba_internalize(ba_solver& ba, solver_core& s, ast_manager& m) : m(m), pb(m), ba(ba), m_solver(s) {}
~ba_internalize() override {}
literal internalize(sat_internalizer& si, expr* e, bool sign, bool root) override;
};

View file

@ -93,6 +93,7 @@ namespace euf {
m_eq_idx(this, 1),
m_lit_idx(this, 2)
{}
~solver() override {}
void set_solver(sat::solver* s) override { m_solver = s; }
void set_lookahead(sat::lookahead* s) override { m_lookahead = s; }

View file

@ -49,6 +49,7 @@ namespace sat {
class th_internalizer {
public:
virtual literal internalize(sat_internalizer& si, expr* e, bool sign, bool root) = 0;
virtual ~th_internalizer() {}
};
class index_base {