mirror of
https://github.com/Z3Prover/z3
synced 2025-08-26 21:16:02 +00:00
remove default destructors & some default constructors
Another ~700 KB reduction in binary size
This commit is contained in:
parent
0837e3b8e8
commit
8061765574
66 changed files with 22 additions and 131 deletions
|
@ -32,10 +32,8 @@ class progress_callback;
|
|||
typedef ptr_buffer<goal> goal_buffer;
|
||||
|
||||
class tactic : public user_propagator::core {
|
||||
unsigned m_ref_count;
|
||||
unsigned m_ref_count = 0;
|
||||
public:
|
||||
tactic():m_ref_count(0) {}
|
||||
|
||||
void inc_ref() { m_ref_count++; }
|
||||
void dec_ref() { SASSERT(m_ref_count > 0); m_ref_count--; if (m_ref_count == 0) dealloc(this); }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue