mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 20:47:45 +00:00
AK: Add missing const in Span::operator==.
This commit is contained in:
parent
1a277ac291
commit
ae9f0e1cd8
1 changed files with 1 additions and 1 deletions
|
@ -209,7 +209,7 @@ public:
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool operator==(Span<T> other) const
|
bool operator==(Span<const T> other) const
|
||||||
{
|
{
|
||||||
if (size() != other.size())
|
if (size() != other.size())
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue