]> git.lyx.org Git - features.git/commitdiff
fix init order
authorLars Gullik Bjønnes <larsbj@gullik.org>
Sun, 17 Jul 2005 12:26:25 +0000 (12:26 +0000)
committerLars Gullik Bjønnes <larsbj@gullik.org>
Sun, 17 Jul 2005 12:26:25 +0000 (12:26 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10277 a592a061-630c-0410-9148-cb99ea01b6c8

src/ChangeLog
src/dociterator.C

index 6317ed4e278d582950d4df00dc6adc1cbf3dd743..3b2116afd1e980eebc303925c261377fdeb8246e 100644 (file)
@@ -1,3 +1,7 @@
+2005-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
+
+       * dociterator.C (DocIterator): fix initialization order
+
 2005-07-17  Juergen Vigna  <jug@lyx.org>
 
        * text2.C (cursorHome): 
index 2ede4d4518fdc1c5f27a41bf54f01ebe5ec4dcbf..201e37b4b57c04cd43b6d8ee8aaf2b7d7d35d9f8 100644 (file)
@@ -30,12 +30,12 @@ using std::endl;
 // We could be able to get rid of this if only every BufferView were
 // associated to a buffer on construction.
 DocIterator::DocIterator()
-       : inset_(0), boundary_(false)
+       : boundary_(false), inset_(0)
 {}
 
 
 DocIterator::DocIterator(InsetBase & inset)
-       : inset_(&inset), boundary_(false)
+       : boundary_(false), inset_(&inset)
 {}