MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / PopFront

Method PopFront

Source/ThirdParty/VulkanMemoryAllocator/vk_mem_alloc.h:4957–4969  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4955
4956template<typename T>
4957void VmaRawList<T>::PopFront()
4958{
4959 VMA_HEAVY_ASSERT(m_Count > 0);
4960 ItemType* const pFrontItem = m_pFront;
4961 ItemType* const pNextItem = pFrontItem->pNext;
4962 if (pNextItem != VMA_NULL)
4963 {
4964 pNextItem->pPrev = VMA_NULL;
4965 }
4966 m_pFront = pNextItem;
4967 m_ItemAllocator.Free(pFrontItem);
4968 --m_Count;
4969}
4970
4971template<typename T>
4972void VmaRawList<T>::PopBack()

Callers

nothing calls this directly

Calls 1

FreeMethod · 0.45

Tested by

no test coverage detected