3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-02-02 23:36:17 +00:00

Remove redundant non-virtual destructors with = default (#8462)

* Initial plan

* Remove 6 non-virtual destructors with no code (= default)

Co-authored-by: nunoplopes <2998477+nunoplopes@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: nunoplopes <2998477+nunoplopes@users.noreply.github.com>
This commit is contained in:
Copilot 2026-02-01 15:22:58 -08:00 committed by GitHub
parent 89e2ceffd0
commit 97bf2a5145
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 0 additions and 7 deletions

View file

@ -226,8 +226,6 @@ namespace sat {
ddfw() {}
~ddfw() = default;
void set_plugin(local_search_plugin* p) { m_plugin = p; }
lbool check(unsigned sz, literal const* assumptions);

View file

@ -32,7 +32,6 @@ namespace sls {
public:
smt_solver(ast_manager& m, params_ref const& p);
~smt_solver() = default;
void assert_expr(expr* e);
lbool check();
model_ref get_model();

View file

@ -99,7 +99,6 @@ public:
lar_term& operator=(const lar_term& other) = default;
// move assignment operator
lar_term& operator=(lar_term&& other) noexcept = default;
~lar_term() = default;
lar_term(const lar_term& a) {
for (auto const& p : a) {
add_monomial(p.coeff(), p.var());

View file

@ -62,7 +62,6 @@ class arith_eq_solver {
public:
arith_eq_solver(ast_manager & m, params_ref const& p = params_ref());
~arith_eq_solver() = default;
// Integer linear solver for a single equation.
// The array values contains integer coefficients

View file

@ -66,7 +66,6 @@ public:
return p.decide(*cb);
};
}
~preferred_value_propagator() = default;
void set_preferred(expr *e) {
m_preferred.push_back(e);
if (m_trail.get_num_scopes() > 0)

View file

@ -32,7 +32,6 @@ class dll_base {
protected:
dll_base() = default;
~dll_base() = default;
public:
dll_base(dll_base const&) = delete;