Merge pull request #61 from warrantyvoids/bugfix/stl-container-remove

Fixed an issue with STL_CONTAINER compilation.
This commit is contained in:
Adam Sawicki 2019-05-06 11:42:57 +02:00 committed by GitHub
commit 8458ccee39
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10527,7 +10527,7 @@ void VmaBlockMetadata_Linear::CleanupAfterFree()
suballocations2nd[0].hAllocation == VK_NULL_HANDLE)
{
--m_2ndNullItemsCount;
suballocations2nd.remove(0);
VmaVectorRemove(suballocations2nd, 0);
}
if(ShouldCompact1st())