From dc30f8ea1bcfbdebbd28c25d8a5df60a8b912a23 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Peter=20=C3=85strand?= Date: Wed, 10 Dec 2008 10:20:54 +0000 Subject: [PATCH] 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 --- win/rfb_win32/Dialog.cxx | 4 ++-- 1 file 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 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() { -- 2.39.5