Made ref_count signed to help detect negative ref_count bugs.
This commit is contained in:
parent
30734a9a7b
commit
f65c885c83
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ template <typename T>
|
|||
struct
|
||||
rc_base
|
||||
{
|
||||
size_t ref_count;
|
||||
int32_t ref_count;
|
||||
|
||||
void ref() {
|
||||
++ref_count;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue