don't call destructor twice

This commit is contained in:
orignal 2019-06-25 16:37:06 -04:00
parent 8e919ddc8e
commit fecc0c4640

View File

@ -46,7 +46,7 @@ namespace util
{
auto tmp = m_Head;
m_Head = static_cast<T*>(*(void * *)m_Head); // next
delete tmp;
::operator delete ((void *)tmp);
}
}