Fix comparison operator on Array and BitArray

This commit is contained in:
Wojtek Figat
2022-12-20 21:10:54 +01:00
parent 757728c96c
commit 84f2e652e4
2 changed files with 4 additions and 2 deletions

View File

@@ -872,8 +872,9 @@ public:
if (!(data[i] == otherData[i]))
return false;
}
return true;
}
return true;
return false;
}
template<typename OtherT = T, typename OtherAllocationType = AllocationType>

View File

@@ -343,8 +343,9 @@ public:
if (!(Get(i) == other.Get(i)))
return false;
}
return true;
}
return true;
return false;
}
template<typename OtherAllocationType = AllocationType>