Util/Manual: use Get() in Destruct()
This commit is contained in:
parent
14f9cdde6b
commit
1889150013
@ -84,8 +84,8 @@ public:
|
||||
void Destruct() {
|
||||
assert(initialized);
|
||||
|
||||
T *t = (T *)data;
|
||||
t->T::~T();
|
||||
T &t = Get();
|
||||
t.T::~T();
|
||||
|
||||
#ifndef NDEBUG
|
||||
initialized = false;
|
||||
|
Loading…
Reference in New Issue
Block a user