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:
parent
6bb363fb4b
commit
187e99c397
1 changed files with 7 additions and 2 deletions
|
@ -205,16 +205,21 @@ public:
|
||||||
class BeValue : public BeHashble
|
class BeValue : public BeHashble
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
int mRefCount;
|
||||||
#ifdef _DEBUG
|
#ifdef _DEBUG
|
||||||
bool mLifetimeEnded;
|
bool mLifetimeEnded;
|
||||||
bool mWasRemoved;
|
bool mWasRemoved;
|
||||||
int mRefCount;
|
|
||||||
BeValue()
|
BeValue()
|
||||||
{
|
{
|
||||||
mLifetimeEnded = false;
|
mLifetimeEnded = false;
|
||||||
mWasRemoved = false;
|
mWasRemoved = false;
|
||||||
mRefCount = 0;
|
mRefCount = 0;
|
||||||
}
|
}
|
||||||
|
#else
|
||||||
|
BeValue()
|
||||||
|
{
|
||||||
|
mRefCount = 0;
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
virtual ~BeValue()
|
virtual ~BeValue()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue