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

Lifetime checking

This commit is contained in:
Brian Fiete 2019-09-18 08:15:57 -07:00
parent 04702cfc57
commit a233e73552

View file

@ -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()
{ {