diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2019-11-28 18:00:29 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2019-11-28 18:00:29 +0000 |
| commit | 094e13588e6029354386f31e49b795a7fada6a58 (patch) | |
| tree | f0dd43f74731c1f5ff37699de6d5456026a2fefc /Common/src | |
| parent | Fixed leftover issues from clang-formatting (diff) | |
| download | DiligentCore-094e13588e6029354386f31e49b795a7fada6a58.tar.gz DiligentCore-094e13588e6029354386f31e49b795a7fada6a58.zip | |
Fixed few vector initialization issues
Diffstat (limited to 'Common/src')
| -rw-r--r-- | Common/src/FixedBlockMemoryAllocator.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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<MemoryPage>")}, - m_AvailablePages {STD_ALLOCATOR_RAW_MEM(size_t, RawMemoryAllocator, "Allocator for unordered_set<size_t>") }, - m_AddrToPageId {STD_ALLOCATOR_RAW_MEM(AddrToPageIdMapElem, RawMemoryAllocator, "Allocator for unordered_map<void*, size_t>")}, + m_PagePool (STD_ALLOCATOR_RAW_MEM(MemoryPage, RawMemoryAllocator, "Allocator for vector<MemoryPage>")), + m_AvailablePages (STD_ALLOCATOR_RAW_MEM(size_t, RawMemoryAllocator, "Allocator for unordered_set<size_t>") ), + m_AddrToPageId (STD_ALLOCATOR_RAW_MEM(AddrToPageIdMapElem, RawMemoryAllocator, "Allocator for unordered_map<void*, size_t>")), m_RawMemoryAllocator{RawMemoryAllocator}, m_BlockSize {BlockSize }, m_NumBlocksInPage {NumBlocksInPage } |
