From 094e13588e6029354386f31e49b795a7fada6a58 Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Thu, 28 Nov 2019 10:00:29 -0800 Subject: Fixed few vector initialization issues --- Common/src/FixedBlockMemoryAllocator.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Common/src') diff --git a/Common/src/FixedBlockMemoryAllocator.cpp b/Common/src/FixedBlockMemoryAllocator.cpp index 22095f8d..9ef64667 100644 --- a/Common/src/FixedBlockMemoryAllocator.cpp +++ b/Common/src/FixedBlockMemoryAllocator.cpp @@ -31,9 +31,9 @@ FixedBlockMemoryAllocator::FixedBlockMemoryAllocator(IMemoryAllocator& RawMemory size_t BlockSize, Uint32 NumBlocksInPage) : // clang-format off - m_PagePool {STD_ALLOCATOR_RAW_MEM(MemoryPage, RawMemoryAllocator, "Allocator for vector")}, - m_AvailablePages {STD_ALLOCATOR_RAW_MEM(size_t, RawMemoryAllocator, "Allocator for unordered_set") }, - m_AddrToPageId {STD_ALLOCATOR_RAW_MEM(AddrToPageIdMapElem, RawMemoryAllocator, "Allocator for unordered_map")}, + m_PagePool (STD_ALLOCATOR_RAW_MEM(MemoryPage, RawMemoryAllocator, "Allocator for vector")), + m_AvailablePages (STD_ALLOCATOR_RAW_MEM(size_t, RawMemoryAllocator, "Allocator for unordered_set") ), + m_AddrToPageId (STD_ALLOCATOR_RAW_MEM(AddrToPageIdMapElem, RawMemoryAllocator, "Allocator for unordered_map")), m_RawMemoryAllocator{RawMemoryAllocator}, m_BlockSize {BlockSize }, m_NumBlocksInPage {NumBlocksInPage } -- cgit v1.2.3