Collections const correctness fix (style)

This commit is contained in:
Mateusz Karbowiak
2024-10-31 00:29:38 +01:00
parent 66b6a29ed4
commit 9c448f75d8
5 changed files with 34 additions and 34 deletions

View File

@@ -110,7 +110,7 @@ private:
int32 _size = 0;
AllocationData _allocation;
FORCE_INLINE static void MoveToEmpty(AllocationData& to, AllocationData& from, int32 fromSize)
FORCE_INLINE static void MoveToEmpty(AllocationData& to, AllocationData& from, const int32 fromSize)
{
if IF_CONSTEXPR (AllocationType::HasSwap)
to.Swap(from);