]> source.dussan.org Git - tigervnc.git/commitdiff
Avoid GCC warning: initializer lists ordered as declarations
authorPeter Åstrand <astrand@cendio.se>
Thu, 11 Dec 2008 09:35:12 +0000 (09:35 +0000)
committerPeter Åstrand <astrand@cendio.se>
Thu, 11 Dec 2008 09:35:12 +0000 (09:35 +0000)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3385 3789f03b-4d11-0410-bbf8-ca57d06f2519

win/vncviewer/OptionsDialog.cxx

index 826781d67a0f14558ddc1e4b5191e2b3d3e2d88e..545522e7538444c4a229f37deec44459cd7462cb 100644 (file)
@@ -47,7 +47,7 @@ public:
   ViewerOptions(OptionsInfo& info_, std::list<PropSheetPage*> pages)
     : PropSheet(GetModuleHandle(0), 
     info_.view ? _T("VNC Viewer Options") : _T("VNC Viewer Defaults"), pages),
-    info(info_), changed(false) {
+    changed(false), info(info_) {
   }
   ~ViewerOptions() {
     if (changed) {