diff --git a/include/vk_mem_alloc.h b/include/vk_mem_alloc.h index 7b577c3..90410b5 100644 --- a/include/vk_mem_alloc.h +++ b/include/vk_mem_alloc.h @@ -10928,7 +10928,7 @@ public: uint32_t GetAlgorithm() const { return m_Algorithm; } bool HasExplicitBlockSize() const { return m_ExplicitBlockSize; } float GetPriority() const { return m_Priority; } - void* const GetAllocationNextPtr() const { return m_pMemoryAllocateNext; } + const void* GetAllocationNextPtr() const { return m_pMemoryAllocateNext; } // To be used only while the m_Mutex is locked. Used during defragmentation. size_t GetBlockCount() const { return m_Blocks.size(); } // To be used only while the m_Mutex is locked. Used during defragmentation.