mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 03:28:20 +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
|
||||
{
|
||||
public:
|
||||
#ifdef _DEBUG
|
||||
bool mLifetimeEnded;
|
||||
BeValue()
|
||||
{
|
||||
mLifetimeEnded = false;
|
||||
}
|
||||
#endif
|
||||
|
||||
virtual ~BeValue()
|
||||
{
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue