3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-23 09:05:31 +00:00

remove default destructors

This commit is contained in:
Nuno Lopes 2024-10-02 22:20:12 +01:00
parent b170f10148
commit 3586b613f7
95 changed files with 25 additions and 259 deletions

View file

@ -1995,9 +1995,6 @@ namespace {
m_args.resize(INIT_ARGS_SIZE);
}
~interpreter() {
}
void init(code_tree * t) {
TRACE("mam_bug", tout << "preparing to match tree:\n" << *t << "\n";);
m_registers.reserve(t->get_num_regs(), nullptr);

View file

@ -43,9 +43,6 @@ namespace smt {
m_vals.resize(15, 0.0f);
}
qi_queue::~qi_queue() {
}
void qi_queue::setup() {
TRACE("qi_cost", tout << "qi_cost: " << m_params.m_qi_cost << "\n";);
if (!m_parser.parse_string(m_params.m_qi_cost.c_str(), m_cost_function)) {

View file

@ -80,7 +80,6 @@ namespace smt {
public:
qi_queue(quantifier_manager & qm, context & ctx, qi_params & params);
~qi_queue();
void setup();
/**
\brief Insert a new quantifier in the queue, f contains the quantifier and bindings.

View file

@ -52,9 +52,6 @@ namespace smt {
{
}
conflict_resolution::~conflict_resolution() {
}
/**
\brief Mark all enodes in a 'proof' tree branch starting at n
n -> ... -> root

View file

@ -208,7 +208,7 @@ namespace smt {
vector<watch_list> & watches
);
virtual ~conflict_resolution();
virtual ~conflict_resolution() = default;
virtual bool resolve(b_justification conflict, literal not_l);

View file

@ -177,9 +177,6 @@ namespace smt {
m_lazy(true) {
}
theory::~theory() {
}
smt_params const& theory::get_fparams() const {
return ctx.get_fparams();
}

View file

@ -388,7 +388,7 @@ namespace smt {
public:
theory(context& ctx, family_id fid);
virtual ~theory();
virtual ~theory() = default;
virtual void setup() {}

View file

@ -1054,7 +1054,6 @@ namespace smt {
// -----------------------------------
public:
theory_arith(context& ctx);
~theory_arith() override;
theory * mk_fresh(context * new_ctx) override;

View file

@ -1737,10 +1737,6 @@ namespace smt {
m_bound_watch(null_bool_var) {
}
template<typename Ext>
theory_arith<Ext>::~theory_arith() {
}
template<typename Ext>
theory* theory_arith<Ext>::mk_fresh(context* new_ctx) {
return alloc(theory_arith<Ext>, *new_ctx);

View file

@ -1493,9 +1493,6 @@ namespace smt {
m_bb.set_flat_and_or(false);
}
theory_bv::~theory_bv() {
}
theory* theory_bv::mk_fresh(context* new_ctx) {
return alloc(theory_bv, *new_ctx);
}

View file

@ -268,7 +268,6 @@ namespace smt {
typedef std::pair<enode*, unsigned> var_enode_pos;
theory_bv(context& ctx);
~theory_bv() override;
theory * mk_fresh(context * new_ctx) override;

View file

@ -762,8 +762,7 @@ namespace smt {
m_util(m),
m_autil(m),
m_sutil(m),
m_find(*this),
m_trail_stack() {
m_find(*this) {
}
theory_datatype::~theory_datatype() {