From 583207b70ab86cf2ebf01b27c4e4077f0ad70ed5 Mon Sep 17 00:00:00 2001 From: Weixie Cui Date: Sat, 28 Mar 2026 14:35:25 +0800 Subject: [PATCH] Fix ArrayBase::operator!= for equal arrays The last branch returned true when sizes and elements matched; return false so equal arrays compare unequal only when they actually differ. --- BeefySysLib/util/Array.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BeefySysLib/util/Array.h b/BeefySysLib/util/Array.h index 670b50585..b534c1653 100644 --- a/BeefySysLib/util/Array.h +++ b/BeefySysLib/util/Array.h @@ -285,7 +285,7 @@ class ArrayBase : public TAlloc for (intptr i = 0; i < mSize; i++) if (mVals[i] != arrB.mVals[i]) return true; - return true; + return false; } const_iterator begin() const