| 4878 | |
| 4879 | template<typename T, typename AllocatorT> |
| 4880 | void VmaVector<T, AllocatorT>::remove(size_t index) |
| 4881 | { |
| 4882 | VMA_HEAVY_ASSERT(index < m_Count); |
| 4883 | const size_t oldCount = size(); |
| 4884 | if (index < oldCount - 1) |
| 4885 | { |
| 4886 | memmove(m_pArray + index, m_pArray + (index + 1), (oldCount - index - 1) * sizeof(T)); |
| 4887 | } |
| 4888 | resize(oldCount - 1); |
| 4889 | } |
| 4890 | #endif // _VMA_VECTOR_FUNCTIONS |
| 4891 | |
| 4892 | namespace |
no outgoing calls
no test coverage detected