3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-20 02:00:22 +00:00

Mark override methods appropriately. (#6207)

This commit is contained in:
Bruce Mitchener 2022-07-30 04:29:15 +07:00 committed by GitHub
parent 8e0d9bf42d
commit 1eb84fe4b9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 18 additions and 18 deletions

View file

@ -239,7 +239,7 @@ class fpa2bv_converter_wrapped : public fpa2bv_converter {
fpa2bv_converter_wrapped(ast_manager & m, th_rewriter& rw) :
fpa2bv_converter(m),
m_rw(rw) {}
virtual ~fpa2bv_converter_wrapped() {}
~fpa2bv_converter_wrapped() override {}
void mk_const(func_decl * f, expr_ref & result) override;
void mk_rm_const(func_decl * f, expr_ref & result) override;
app_ref wrap(expr * e);

View file

@ -49,7 +49,7 @@ protected:
bool is_target(func_decl * decl, unsigned num_args, expr * const * args) override;
public:
ng_push_app_ite_cfg(ast_manager& m): push_app_ite_cfg(m) {}
virtual ~ng_push_app_ite_cfg() {}
~ng_push_app_ite_cfg() override {}
};
struct push_app_ite_rw : public rewriter_tpl<push_app_ite_cfg> {

View file

@ -99,7 +99,7 @@ public:
datatype_value_generator(value_generator& g, ast_manager& m):
m(m), g(g), dt(m), m_sorts(m) {}
~datatype_value_generator() {
~datatype_value_generator() override {
for (auto& kv : m_values) dealloc(kv.m_value);
}