Vector: Fix crash when trying to use vector after a call to clear()

This commit is contained in:
apio 2023-03-23 22:19:43 +01:00
parent 00672c4b22
commit 767dbf521c
Signed by: apio
GPG Key ID: B8A7D06E42258954

View File

@ -164,6 +164,7 @@ template <typename T> class Vector
{
m_size = m_capacity = 0;
free_impl(m_data);
m_data = nullptr;
}
private: