Skip to content

Commit 2461b6e

Browse files
authored
Merge pull request #2420 from cuiweixie/fix/arraybase-operator-ne-equals
Fix ArrayBase::operator!= for equal arrays
2 parents 9082d36 + 583207b commit 2461b6e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

BeefySysLib/util/Array.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ class ArrayBase : public TAlloc
285285
for (intptr i = 0; i < mSize; i++)
286286
if (mVals[i] != arrB.mVals[i])
287287
return true;
288-
return true;
288+
return false;
289289
}
290290

291291
const_iterator begin() const

0 commit comments

Comments
 (0)