Add safety check and rename ref mgmt functions

This commit is contained in:
Johan Wikman
2017-04-25 11:12:23 +03:00
parent 1eb409a666
commit 55011c2951
3 changed files with 12 additions and 9 deletions

View File

@ -55,8 +55,8 @@ protected:
private:
friend class Worker;
void inc_count();
void dec_count();
void inc_ref();
void dec_ref();
private:
int32_t m_count;