mirror of
https://github.com/SerenityOS/serenity
synced 2024-09-06 17:06:31 +00:00
LibMarkdown: Make LineIterator::operator- take a const reference
This commit is contained in:
parent
ccab25e54e
commit
416d6ab6c8
|
@ -82,7 +82,7 @@ public:
|
|||
return copy;
|
||||
}
|
||||
|
||||
ptrdiff_t operator-(LineIterator other) const { return m_iterator - other.m_iterator; }
|
||||
ptrdiff_t operator-(LineIterator const& other) const { return m_iterator - other.m_iterator; }
|
||||
|
||||
FakePtr<StringView> operator->() const { return FakePtr<StringView>(operator*()); }
|
||||
|
||||
|
|
Loading…
Reference in a new issue