Made ref_count signed to help detect negative ref_count bugs.

This commit is contained in:
Michael Bebenita 2010-08-09 08:00:04 -07:00
parent 30734a9a7b
commit f65c885c83

View File

@ -75,7 +75,7 @@ template <typename T>
struct
rc_base
{
size_t ref_count;
int32_t ref_count;
void ref() {
++ref_count;