AK: Add missing const in Span::operator==.
This commit is contained in:
parent
1a277ac291
commit
ae9f0e1cd8
Notes:
sideshowbarker
2024-07-19 02:18:55 +09:00
Author: https://github.com/asynts Commit: https://github.com/SerenityOS/serenity/commit/ae9f0e1cd8b Pull-request: https://github.com/SerenityOS/serenity/pull/3561
1 changed files with 1 additions and 1 deletions
|
@ -209,7 +209,7 @@ public:
|
|||
return *this;
|
||||
}
|
||||
|
||||
bool operator==(Span<T> other) const
|
||||
bool operator==(Span<const T> other) const
|
||||
{
|
||||
if (size() != other.size())
|
||||
return false;
|
||||
|
|
Loading…
Add table
Reference in a new issue