aboutsummaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorPeter Åstrand <astrand@cendio.se>2008-12-10 10:20:54 +0000
committerPeter Åstrand <astrand@cendio.se>2008-12-10 10:20:54 +0000
commitdc30f8ea1bcfbdebbd28c25d8a5df60a8b912a23 (patch)
treef2fcca57a66501dd12bdc9f5cadd1db93a258633 /win
parentf7bcd2b34d24a32ee1779c3e046d36fd49890d07 (diff)
downloadtigervnc-dc30f8ea1bcfbdebbd28c25d8a5df60a8b912a23.tar.gz
tigervnc-dc30f8ea1bcfbdebbd28c25d8a5df60a8b912a23.zip
Avoid GCC warning: initializer lists ordered as declarations
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3351 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'win')
-rw-r--r--win/rfb_win32/Dialog.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/rfb_win32/Dialog.cxx b/win/rfb_win32/Dialog.cxx
index d07ecd61..90e7075f 100644
--- a/win/rfb_win32/Dialog.cxx
+++ b/win/rfb_win32/Dialog.cxx
@@ -44,7 +44,7 @@ static LogWriter plog("PropSheet");
Dialog::Dialog(HINSTANCE inst_)
-: inst(inst_), alreadyShowing(false), handle(0)
+: inst(inst_), handle(0), alreadyShowing(false)
{
}
@@ -207,7 +207,7 @@ BOOL PropSheetPage::dialogProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam
PropSheet::PropSheet(HINSTANCE inst_, const TCHAR* title_, std::list<PropSheetPage*> pages_, HICON icon_)
-: title(tstrDup(title_)), inst(inst_), pages(pages_), alreadyShowing(0), handle(0), icon(icon_) {
+: icon(icon_), pages(pages_), inst(inst_), title(tstrDup(title_)), handle(0), alreadyShowing(0) {
}
PropSheet::~PropSheet() {