3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-01-30 13:57:57 +00:00

Use override rather than virtual.

This commit is contained in:
Bruce Mitchener 2018-02-10 09:15:12 +07:00
parent ce123d9dbc
commit 7167fda1dc
220 changed files with 2546 additions and 2548 deletions

View file

@ -56,7 +56,7 @@ namespace qe {
{
}
virtual ~dl_plugin() {
~dl_plugin() override {
eqs_cache::iterator it = m_eqs_cache.begin(), end = m_eqs_cache.end();
for (; it != end; ++it) {
dealloc(it->get_value());
@ -65,7 +65,7 @@ namespace qe {
bool get_num_branches(contains_app & x,expr * fml,rational & num_branches) {
bool get_num_branches(contains_app & x,expr * fml,rational & num_branches) override {
if (!update_eqs(x, fml)) {
return false;
}
@ -80,7 +80,7 @@ namespace qe {
return true;
}
void assign(contains_app & x,expr * fml,const rational & v) {
void assign(contains_app & x,expr * fml,const rational & v) override {
SASSERT(v.is_unsigned());
eq_atoms& eqs = get_eqs(x.x(), fml);
unsigned uv = v.get_unsigned();
@ -94,7 +94,7 @@ namespace qe {
}
}
void subst(contains_app & x,const rational & v,expr_ref & fml, expr_ref* def) {
void subst(contains_app & x,const rational & v,expr_ref & fml, expr_ref* def) override {
SASSERT(v.is_unsigned());
eq_atoms& eqs = get_eqs(x.x(), fml);
unsigned uv = v.get_unsigned();
@ -111,7 +111,7 @@ namespace qe {
}
}
virtual bool solve(conj_enum& conjs, expr* fml) { return false; }
bool solve(conj_enum& conjs, expr* fml) override { return false; }
private: