diff --git a/code/Common/StackAllocator.h b/code/Common/StackAllocator.h index 813d8ed5b..f0b712b24 100644 --- a/code/Common/StackAllocator.h +++ b/code/Common/StackAllocator.h @@ -47,8 +47,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #ifndef AI_STACK_ALLOCATOR_H_INC #define AI_STACK_ALLOCATOR_H_INC - -#include +#include #include #include @@ -83,10 +82,9 @@ 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::deque m_storageBlocks; // A list of blocks + std::vector m_storageBlocks; // A list of blocks }; - } // namespace Assimp #include "StackAllocator.inl"