Merge pull request #259 from brianosman/patch-1

Fix return type of GetAllocationNextPtr
This commit is contained in:
Adam Sawicki 2022-04-19 17:03:10 +02:00 committed by GitHub
commit 7de5cc00de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10928,7 +10928,7 @@ public:
uint32_t GetAlgorithm() const { return m_Algorithm; } uint32_t GetAlgorithm() const { return m_Algorithm; }
bool HasExplicitBlockSize() const { return m_ExplicitBlockSize; } bool HasExplicitBlockSize() const { return m_ExplicitBlockSize; }
float GetPriority() const { return m_Priority; } 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. // To be used only while the m_Mutex is locked. Used during defragmentation.
size_t GetBlockCount() const { return m_Blocks.size(); } size_t GetBlockCount() const { return m_Blocks.size(); }
// To be used only while the m_Mutex is locked. Used during defragmentation. // To be used only while the m_Mutex is locked. Used during defragmentation.