mirror of
https://github.com/Z3Prover/z3
synced 2025-07-28 06:57:55 +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
|
@ -38,7 +38,7 @@ protected:
|
|||
virtual size_t obj_size() const { UNREACHABLE(); return sizeof(*this); }
|
||||
pdecl(unsigned id, unsigned num_params):m_id(id), m_num_params(num_params), m_ref_count(0) {}
|
||||
virtual void finalize(pdecl_manager & m) {}
|
||||
virtual ~pdecl() {}
|
||||
virtual ~pdecl() = default;
|
||||
public:
|
||||
virtual bool check_num_params(pdecl * other) const { return m_num_params == other->m_num_params; }
|
||||
unsigned get_num_params() const { return m_num_params; }
|
||||
|
@ -257,7 +257,7 @@ public:
|
|||
|
||||
class new_datatype_eh {
|
||||
public:
|
||||
virtual ~new_datatype_eh() {}
|
||||
virtual ~new_datatype_eh() = default;
|
||||
virtual void operator()(sort * dt, pdecl* pd) = 0;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue