mirror of
https://github.com/Z3Prover/z3
synced 2025-08-23 03:27:52 +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
|
@ -45,7 +45,7 @@ protected:
|
|||
double m_time;
|
||||
public:
|
||||
check_sat_result():m_ref_count(0), m_status(l_undef), m_time(0) {}
|
||||
virtual ~check_sat_result() {}
|
||||
virtual ~check_sat_result() = default;
|
||||
void inc_ref() { m_ref_count++; }
|
||||
void dec_ref() { SASSERT(m_ref_count > 0); m_ref_count--; if (m_ref_count == 0) dealloc(this); }
|
||||
lbool set_status(lbool r) { return m_status = r; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue