mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Add missing operator>= to DocIterator
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26120 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
e5e65c031c
commit
8602143775
@ -309,6 +309,13 @@ bool operator<=(DocIterator const & p, DocIterator const & q)
|
||||
}
|
||||
|
||||
|
||||
inline
|
||||
bool operator>=(DocIterator const & p, DocIterator const & q)
|
||||
{
|
||||
return !(p < q);
|
||||
}
|
||||
|
||||
|
||||
// The difference to a ('non stable') DocIterator is the removed
|
||||
// (overwritten by 0...) part of the CursorSlice data items. So this thing
|
||||
// is suitable for external storage, but not for iteration as such.
|
||||
|
Loading…
Reference in New Issue
Block a user