mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator
synced 2024-11-05 12:20:07 +00:00
Fixes warning: field 'm_Blocks' will be initialized after field 'm_HasEmptyBlock' [-Wreorder]
This commit is contained in:
parent
c7d1b584b7
commit
483acccff1
@ -9380,8 +9380,8 @@ VmaBlockVector::VmaBlockVector(
|
|||||||
m_IsCustomPool(isCustomPool),
|
m_IsCustomPool(isCustomPool),
|
||||||
m_ExplicitBlockSize(explicitBlockSize),
|
m_ExplicitBlockSize(explicitBlockSize),
|
||||||
m_LinearAlgorithm(linearAlgorithm),
|
m_LinearAlgorithm(linearAlgorithm),
|
||||||
m_Blocks(VmaStlAllocator<VmaDeviceMemoryBlock*>(hAllocator->GetAllocationCallbacks())),
|
|
||||||
m_HasEmptyBlock(false),
|
m_HasEmptyBlock(false),
|
||||||
|
m_Blocks(VmaStlAllocator<VmaDeviceMemoryBlock*>(hAllocator->GetAllocationCallbacks())),
|
||||||
m_pDefragmentator(VMA_NULL),
|
m_pDefragmentator(VMA_NULL),
|
||||||
m_NextBlockId(0)
|
m_NextBlockId(0)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user