summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorPeter Åstrand <astrand@cendio.se>2008-12-11 09:35:12 +0000
committerPeter Åstrand <astrand@cendio.se>2008-12-11 09:35:12 +0000
commite133cbaa12be5790d205f397db18ad65859536cc (patch)
treea3b21407a433f954ab475eb4cb2d5fc219c8a3d0 /win
parentad4a8c7465f0fc6556d0794d43ae125fe543780c (diff)
downloadtigervnc-e133cbaa12be5790d205f397db18ad65859536cc.tar.gz
tigervnc-e133cbaa12be5790d205f397db18ad65859536cc.zip
Avoid GCC warning: initializer lists ordered as declarations
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3385 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'win')
-rw-r--r--win/vncviewer/OptionsDialog.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/vncviewer/OptionsDialog.cxx b/win/vncviewer/OptionsDialog.cxx
index 826781d6..545522e7 100644
--- a/win/vncviewer/OptionsDialog.cxx
+++ b/win/vncviewer/OptionsDialog.cxx
@@ -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) {