]> git.lyx.org Git - features.git/commitdiff
Add ParIterator FIXME.
authorPavel Sanda <sanda@lyx.org>
Wed, 9 Jan 2008 13:14:14 +0000 (13:14 +0000)
committerPavel Sanda <sanda@lyx.org>
Wed, 9 Jan 2008 13:14:14 +0000 (13:14 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22453 a592a061-630c-0410-9148-cb99ea01b6c8

src/ParIterator.h

index b45c0fa5fd9f1c8024958ad60b001f43ea2b1bed..af41cc0744ed91b69f4af2a471ee0de734498423 100644 (file)
@@ -81,7 +81,12 @@ ParIterator par_iterator_end(Inset & inset);
 ///
 bool operator==(ParIterator const & iter1, ParIterator const & iter2);
 
-///
+// FIXME: Unfortunately operator!=(ParIterator &, ParIterator &) is implemented with
+// operator!=(DocIterator &, DocIterator &) that gives false if the positions
+// are different, even if the pars are the same. So ultimately it's a bug in
+// operator!=(ParIterator &, ParIterator &) I'd say (nevertheless, I would be
+// reluctant to change it, because I fear that some part of the code could rely on
+// this "bug". --Alfredo
 bool operator!=(ParIterator const & iter1, ParIterator const & iter2);