3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-02-20 07:24:40 +00:00

Replace empty destructors with = default for compiler optimization (#8189)

* Initial plan

* Replace empty destructors with = default

Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
This commit is contained in:
Copilot 2026-01-13 10:50:10 -08:00 committed by Nikolaj Bjorner
parent e29289ad97
commit a6c1d32074
36 changed files with 34 additions and 55 deletions

View file

@ -37,7 +37,7 @@ namespace sat {
ddfw_wrapper() {}
~ddfw_wrapper() override {}
~ddfw_wrapper() override = default;
void set_plugin(local_search_plugin* p) { m_ddfw.set_plugin(p); }

View file

@ -29,7 +29,7 @@ namespace sat {
class clause;
struct clause_eh {
virtual ~clause_eh() {}
virtual ~clause_eh() = default;
virtual void on_clause(unsigned, literal const*, status) = 0;
};

View file

@ -96,7 +96,7 @@ namespace sat {
class proof_hint {
public:
virtual ~proof_hint() {}
virtual ~proof_hint() = default;
};
class status {

View file

@ -31,7 +31,7 @@ namespace euf {
class theory_checker_plugin {
public:
virtual ~theory_checker_plugin() {}
virtual ~theory_checker_plugin() = default;
virtual bool check(app* jst) = 0;
virtual expr_ref_vector clause(app* jst) = 0;
virtual void register_plugins(theory_checker& pc) = 0;