]> git.lyx.org Git - lyx.git/blobdiff - src/DocIterator.h
lyx2lyx/lyx_1_6.py: fixes for r26882 as promised
[lyx.git] / src / DocIterator.h
index 8b23312b2e451020e503246475f783c8213e0da9..5e157ef9072c05d79134608758d7c18141989d9e 100644 (file)
@@ -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.