mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 11:38:21 +02:00
Lifetime checking
This commit is contained in:
parent
04702cfc57
commit
a233e73552
1 changed files with 8 additions and 0 deletions
|
@ -205,6 +205,14 @@ public:
|
||||||
class BeValue : public BeHashble
|
class BeValue : public BeHashble
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
#ifdef _DEBUG
|
||||||
|
bool mLifetimeEnded;
|
||||||
|
BeValue()
|
||||||
|
{
|
||||||
|
mLifetimeEnded = false;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
virtual ~BeValue()
|
virtual ~BeValue()
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue