mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git
synced 2025-05-29 16:09:21 +00:00
Fix return type of GetAllocationNextPtr
Returning `void* const` doesn't mean anything (produces a warning with -Wignored-qualifiers). Based on usage, it looks like the returned pointer is expected to point at const data, so I've fixed the declaration to reflect that.
This commit is contained in:
parent
a88bc520a0
commit
8a7f80743a
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue