mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/D3D12MemoryAllocator.git
synced 2024-11-24 13:00:13 +00:00
Merge pull request #1 from Silveryard/master
Fixed compilation error in Vector::reserve
This commit is contained in:
commit
40a205aee1
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user