Made ref_count signed to help detect negative ref_count bugs.
This commit is contained in:
parent
30734a9a7b
commit
f65c885c83
@ -75,7 +75,7 @@ template <typename T>
|
||||
struct
|
||||
rc_base
|
||||
{
|
||||
size_t ref_count;
|
||||
int32_t ref_count;
|
||||
|
||||
void ref() {
|
||||
++ref_count;
|
||||
|
Loading…
x
Reference in New Issue
Block a user