Fixed compilation error in Vector::reserve

This commit is contained in:
Sebastian Bischlager 2019-09-21 12:52:34 +02:00
parent 2764c221dc
commit f794a64c57

View File

@ -593,7 +593,7 @@ public:
{
memcpy(newArray, m_pArray, m_Count * sizeof(T));
}
Free(m_Allocator.m_pCallbacks, m_pArray);
Free(m_AllocationCallbacks, m_pArray);
m_Capacity = newCapacity;
m_pArray = newArray;
}