mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:57:35 +00:00
AK: Use operator== for comparison in Vector::contains_slow
This commit is contained in:
parent
2c4af740c7
commit
bee39d8524
1 changed files with 1 additions and 1 deletions
|
@ -168,7 +168,7 @@ public:
|
|||
bool contains_slow(const T& value) const
|
||||
{
|
||||
for (int i = 0; i < size(); ++i) {
|
||||
if (Traits<T>::equals(at(i), value))
|
||||
if (at(i) == value)
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue