]> git.lyx.org Git - features.git/blobdiff - src/frontends/WorkArea.C
Fix (hopefully) gcc warning about initialization order in constructor.
[features.git] / src / frontends / WorkArea.C
index ac74e2000dce2ea1a3ecda07d2693f1b7ec76bd9..cf2690620fb3c37457c7be6a8bdc733d8a66471f 100644 (file)
@@ -71,8 +71,8 @@ namespace lyx {
 namespace frontend {
 
 WorkArea::WorkArea(int id, LyXView & lyx_view)
-       : id_(id), buffer_view_(0), lyx_view_(lyx_view), greyed_out_(true),
-         cursor_visible_(false), cursor_timeout_(400)
+       : buffer_view_(0), lyx_view_(lyx_view), greyed_out_(true),
+         cursor_visible_(false), cursor_timeout_(400), id_(id)
 {
        // Start loading the pixmap as soon as possible
        //if (lyxrc.show_banner) {