diff --git a/src/vk_mem_alloc.h b/src/vk_mem_alloc.h
index e315f81..deb1404 100644
--- a/src/vk_mem_alloc.h
+++ b/src/vk_mem_alloc.h
@@ -10527,7 +10527,7 @@ void VmaBlockMetadata_Linear::CleanupAfterFree()
             suballocations2nd[0].hAllocation == VK_NULL_HANDLE)
         {
             --m_2ndNullItemsCount;
-            suballocations2nd.remove(0);
+            VmaVectorRemove(suballocations2nd, 0);
         }
 
         if(ShouldCompact1st())