3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-10 19:27:06 +00:00

fix build errors

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2017-07-31 18:39:35 -07:00
parent 0eb2915e83
commit c506f3ddc9
2 changed files with 9 additions and 3 deletions

View file

@ -1122,7 +1122,13 @@ lemma::lemma(pob_ref const &p) :
m_bindings(m), m_lvl(p->level()),
m_pob(p), m_new_pob(m_pob) {SASSERT(m_pob);}
lemma::lemma(pob_ref const &p, expr_ref_vector &cube, unsigned lvl) : lemma(p) {
lemma::lemma(pob_ref const &p, expr_ref_vector &cube, unsigned lvl) :
m_ref_count(0),
m(p->get_ast_manager()),
m_body(m), m_cube(m),
m_bindings(m), m_lvl(p->level()),
m_pob(p), m_new_pob(m_pob)
{
update_cube(p, cube);
set_level(lvl);
}

View file

@ -119,7 +119,7 @@ public:
lemma(ast_manager &manager, expr * fml, unsigned lvl);
lemma(pob_ref const &p);
lemma(pob_ref const &p, expr_ref_vector &cube, unsigned lvl);
lemma(const lemma &other) = delete;
// lemma(const lemma &other) = delete;
ast_manager &get_ast_manager() {return m;}
expr *get_expr();
@ -648,7 +648,7 @@ public:
unsigned max_level () {return m_max_level;}
unsigned min_depth () {return m_min_depth;}
unsigned size () {return m_obligations.size ();}
size_t size () {return m_obligations.size ();}
};