Util/Manual: use Get() in Destruct()

This commit is contained in:
Max Kellermann 2014-12-09 23:08:53 +01:00
parent 14f9cdde6b
commit 1889150013

View File

@ -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;