From: Peter Åstrand Date: Thu, 11 Dec 2008 09:35:12 +0000 (+0000) Subject: Avoid GCC warning: initializer lists ordered as declarations X-Git-Tag: v0.0.90~288 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=e133cbaa12be5790d205f397db18ad65859536cc;p=tigervnc.git 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 --- 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 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) {