mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 06:14:58 +00:00
LibMarkdown: Make LineIterator::operator- take a const reference
This commit is contained in:
parent
ccab25e54e
commit
416d6ab6c8
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue