]> git.lyx.org Git - lyx.git/commitdiff
Reorder member initializers to avoid compiler warning.
authorAngus Leeming <leeming@lyx.org>
Mon, 15 Sep 2003 10:03:17 +0000 (10:03 +0000)
committerAngus Leeming <leeming@lyx.org>
Mon, 15 Sep 2003 10:03:17 +0000 (10:03 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7747 a592a061-630c-0410-9148-cb99ea01b6c8

src/ChangeLog
src/bufferparams.C

index 7a6791f53c3ce531546f0726c6f9085e1c9c19e4..fe0616a8c71633f60f986a97f2664c6c49e42109 100644 (file)
@@ -1,3 +1,8 @@
+2003-09-15  Angus Leeming  <leeming@lyx.org>
+
+       * bufferparams.C (BufferParams): reorder member initializers to avoid
+       compiler warning.
+
 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
 
        * CutAndPaste.C (pasteSelection): remove an outdated #warning
index 9877d30f17d5585524b4e83201bbd49195b8a299..898412419ae7d566f46cfa754c4234eae7f2ce81 100644 (file)
@@ -80,12 +80,12 @@ BufferParams::Impl::Impl()
 
 
 BufferParams::BufferParams()
-       : pimpl_(new Impl),
-         // Initialize textclass to point to article. if `first' is
+       : // Initialize textclass to point to article. if `first' is
          // true in the returned pair, then `second' is the textclass
          // number; if it is false, second is 0. In both cases, second
          // is what we want.
-         textclass(textclasslist.NumberOfClass("article").second)
+       textclass(textclasslist.NumberOfClass("article").second),
+       pimpl_(new Impl)
 {
        paragraph_separation = PARSEP_INDENT;
        quotes_language = InsetQuotes::EnglishQ;