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

fix build

This commit is contained in:
Nuno Lopes 2021-01-20 10:42:29 +00:00
parent 48058e706f
commit 3a572edb9c
2 changed files with 2 additions and 2 deletions

View file

@ -65,7 +65,7 @@ bool has_skolem_functions(expr * n) {
}
subterms::subterms(expr_ref_vector const& es): m_es(es) {}
subterms::subterms(expr_ref& e) : m_es(e.m()) { m_es.push_back(e); }
subterms::subterms(const expr_ref& e) : m_es(e.m()) { m_es.push_back(e); }
subterms::iterator subterms::begin() { return iterator(*this, true); }
subterms::iterator subterms::end() { return iterator(*this, false); }
subterms::iterator::iterator(subterms& f, bool start): m_es(f.m_es) {

View file

@ -182,7 +182,7 @@ public:
bool operator!=(iterator const& other) const;
};
subterms(expr_ref_vector const& es);
subterms(expr_ref& e);
subterms(const expr_ref& e);
iterator begin();
iterator end();
};