Skip to content

Commit 7de5cc0

Browse files
Merge pull request #259 from brianosman/patch-1
Fix return type of GetAllocationNextPtr
2 parents a88bc52 + 8a7f807 commit 7de5cc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/vk_mem_alloc.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10928,7 +10928,7 @@ class VmaBlockVector
1092810928
uint32_t GetAlgorithm() const { return m_Algorithm; }
1092910929
bool HasExplicitBlockSize() const { return m_ExplicitBlockSize; }
1093010930
float GetPriority() const { return m_Priority; }
10931-
void* const GetAllocationNextPtr() const { return m_pMemoryAllocateNext; }
10931+
const void* GetAllocationNextPtr() const { return m_pMemoryAllocateNext; }
1093210932
// To be used only while the m_Mutex is locked. Used during defragmentation.
1093310933
size_t GetBlockCount() const { return m_Blocks.size(); }
1093410934
// To be used only while the m_Mutex is locked. Used during defragmentation.

0 commit comments

Comments
 (0)