AK: Add missing const in Span::operator==.

This commit is contained in:
asynts 2020-09-20 17:48:00 +02:00 committed by Andreas Kling
parent 1a277ac291
commit ae9f0e1cd8

View file

@ -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;