Merge pull request #1 from Silveryard/master

Fixed compilation error in Vector::reserve
This commit is contained in:
Adam Sawicki 2019-09-30 14:36:36 +02:00 committed by GitHub
commit 40a205aee1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -614,7 +614,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;
}