3
0
Fork 0
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:
Bruce Mitchener 2022-07-30 04:29:15 +07:00 committed by GitHub
parent 8e0d9bf42d
commit 1eb84fe4b9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 18 additions and 18 deletions

View file

@ -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); }