3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-06-01 11:51:20 +00:00

Use = default for virtual constructors.

This commit is contained in:
Bruce Mitchener 2022-08-04 13:21:07 +07:00 committed by Nikolaj Bjorner
parent aa0719abae
commit 5014b1a34d
85 changed files with 106 additions and 107 deletions

View file

@ -294,7 +294,7 @@ namespace smt {
m_bound_kind(k),
m_atom(a) {
}
virtual ~bound() {}
virtual ~bound() = default;
theory_var get_var() const { return m_var; }
bound_kind get_bound_kind() const { return static_cast<bound_kind>(m_bound_kind); }
bool is_atom() const { return m_atom; }