Add safety check and rename ref mgmt functions
This commit is contained in:
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user