mirror of
https://github.com/Z3Prover/z3
synced 2025-04-24 09:35:32 +00:00
Mark override methods appropriately. (#6207)
This commit is contained in:
parent
8e0d9bf42d
commit
1eb84fe4b9
15 changed files with 18 additions and 18 deletions
|
@ -35,7 +35,7 @@ class tactic : public user_propagator::core {
|
|||
unsigned m_ref_count;
|
||||
public:
|
||||
tactic():m_ref_count(0) {}
|
||||
virtual ~tactic() {}
|
||||
~tactic() override {}
|
||||
|
||||
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