Made ref_count a word sized value.
This commit is contained in:
parent
ff93e5e196
commit
d584de7a37
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ template <typename T>
|
|||
struct
|
||||
rc_base
|
||||
{
|
||||
int32_t ref_count;
|
||||
intptr_t ref_count;
|
||||
|
||||
void ref() {
|
||||
++ref_count;
|
||||
|
|
Loading…
Reference in a new issue