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
|
||||
{
|
||||
public:
|
||||
int mRefCount;
|
||||
#ifdef _DEBUG
|
||||
bool mLifetimeEnded;
|
||||
bool mWasRemoved;
|
||||
int mRefCount;
|
||||
BeValue()
|
||||
{
|
||||
mLifetimeEnded = false;
|
||||
mWasRemoved = false;
|
||||
mRefCount = 0;
|
||||
}
|
||||
#else
|
||||
BeValue()
|
||||
{
|
||||
mRefCount = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
virtual ~BeValue()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue