From 8220cb4813b88ab93d21b263540164506ba48a89 Mon Sep 17 00:00:00 2001 From: Gray <84999745+Milxnor@users.noreply.github.com> Date: Fri, 6 Sep 2024 06:26:19 -0400 Subject: [PATCH] I think this is fischsalat fault I am doing this from phone and just guessing why it doesnt build so if it dont work gg --- Project Reboot 3.0/BitArray.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Project Reboot 3.0/BitArray.h b/Project Reboot 3.0/BitArray.h index fc07d9c..d4f9e6d 100644 --- a/Project Reboot 3.0/BitArray.h +++ b/Project Reboot 3.0/BitArray.h @@ -44,7 +44,7 @@ class TBitArray , Mask(InMask) { } - FORCEINLINE const FBitReference(const uint32& InData, const uint32 InMask) + FORCEINLINE FBitReference(const uint32& InData, const uint32 InMask) : Data(const_cast(InData)) , Mask(InMask) { @@ -82,13 +82,13 @@ class TBitArray const TBitArray& IteratedArray; public: - FORCEINLINE const FBitIterator(const TBitArray& ToIterate, const int32 StartIndex) // Begin + FORCEINLINE FBitIterator(const TBitArray& ToIterate, const int32 StartIndex) // Begin : IteratedArray(ToIterate) , Index(StartIndex) , FRelativeBitReference(StartIndex) { } - FORCEINLINE const FBitIterator(const TBitArray& ToIterate) // End + FORCEINLINE FBitIterator(const TBitArray& ToIterate) // End : IteratedArray(ToIterate) , Index(ToIterate.NumBits) , FRelativeBitReference(ToIterate.NumBits)