From 71a4977dd104506e8af743f27e1db2b062ccc1a1 Mon Sep 17 00:00:00 2001 From: Kim Kulling Date: Mon, 15 May 2023 15:46:21 +0200 Subject: [PATCH] Fix: Try unique_ptr --- code/Common/StackAllocator.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/Common/StackAllocator.h b/code/Common/StackAllocator.h index f0b712b24..33a8bb569 100644 --- a/code/Common/StackAllocator.h +++ b/code/Common/StackAllocator.h @@ -82,7 +82,8 @@ private: constexpr const static size_t g_startBytesPerBlock = 16 * 1024; // Size of the first block. Next blocks will double in size until maximum size of g_maxBytesPerBlock size_t m_blockAllocationSize = g_startBytesPerBlock; // Block size of the current block size_t m_subIndex = g_maxBytesPerBlock; // The current byte offset in the current block - std::vector m_storageBlocks; // A list of blocks + std::vector> m_storageBlocks; + //std::vector m_storageBlocks; // A list of blocks }; } // namespace Assimp