diff --git a/Source/Engine/Core/Collections/Array.h b/Source/Engine/Core/Collections/Array.h index b89acc44f..d2cd50afd 100644 --- a/Source/Engine/Core/Collections/Array.h +++ b/Source/Engine/Core/Collections/Array.h @@ -872,8 +872,9 @@ public: if (!(data[i] == otherData[i])) return false; } + return true; } - return true; + return false; } template diff --git a/Source/Engine/Core/Collections/BitArray.h b/Source/Engine/Core/Collections/BitArray.h index 660b1e0fe..8d7530e42 100644 --- a/Source/Engine/Core/Collections/BitArray.h +++ b/Source/Engine/Core/Collections/BitArray.h @@ -343,8 +343,9 @@ public: if (!(Get(i) == other.Get(i))) return false; } + return true; } - return true; + return false; } template