1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 11:38:21 +02:00

Fixed release count

This commit is contained in:
Brian Fiete 2020-12-17 05:05:48 -08:00
parent 6bb363fb4b
commit 187e99c397

View file

@ -205,16 +205,21 @@ public:
class BeValue : public BeHashble
{
public:
int mRefCount;
#ifdef _DEBUG
bool mLifetimeEnded;
bool mWasRemoved;
int mRefCount;
bool mWasRemoved;
BeValue()
{
mLifetimeEnded = false;
mWasRemoved = false;
mRefCount = 0;
}
#else
BeValue()
{
mRefCount = 0;
}
#endif
virtual ~BeValue()