From d5fcdf6edbb33ee85ebd6db5a38112d8f74ea9e3 Mon Sep 17 00:00:00 2001 From: Wojtek Figat Date: Sat, 20 May 2023 11:11:06 +0200 Subject: [PATCH] Fix `BitArray::Set` to not be `const` --- Source/Engine/Core/Collections/BitArray.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Engine/Core/Collections/BitArray.h b/Source/Engine/Core/Collections/BitArray.h index 6058dc8a5..01238d434 100644 --- a/Source/Engine/Core/Collections/BitArray.h +++ b/Source/Engine/Core/Collections/BitArray.h @@ -214,7 +214,7 @@ public: /// /// The index of the item. /// The value to set. - void Set(int32 index, bool value) const + void Set(int32 index, bool value) { ASSERT(index >= 0 && index < _count); const ItemType offset = index / sizeof(ItemType);