mirror of
https://github.com/Z3Prover/z3
synced 2025-07-31 16:33:18 +00:00
Use = default
for virtual constructors.
This commit is contained in:
parent
aa0719abae
commit
5014b1a34d
85 changed files with 106 additions and 107 deletions
|
@ -66,7 +66,7 @@ class heap_trie {
|
|||
unsigned m_ref;
|
||||
public:
|
||||
node(node_t t): m_type(t), m_ref(0) {}
|
||||
virtual ~node() {}
|
||||
virtual ~node() = default;
|
||||
node_t type() const { return m_type; }
|
||||
void inc_ref() { ++m_ref; }
|
||||
void dec_ref() { SASSERT(m_ref > 0); --m_ref; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue