From: Peter Åstrand Date: Thu, 11 Dec 2008 09:07:08 +0000 (+0000) Subject: Avoid GCC warning: initializer lists ordered as declarations X-Git-Tag: v0.0.90~292 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=6132a9ad22d08b9566428f8136fd18c283809c01;p=tigervnc.git Avoid GCC warning: initializer lists ordered as declarations git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3381 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- diff --git a/win/vncviewer/ConnectingDialog.cxx b/win/vncviewer/ConnectingDialog.cxx index 60fcb661..d2aec7c3 100644 --- a/win/vncviewer/ConnectingDialog.cxx +++ b/win/vncviewer/ConnectingDialog.cxx @@ -102,8 +102,8 @@ public: }; -ConnectingDialog::ConnectingDialog() : dialog(0), readyEvent(CreateEvent(0, TRUE, FALSE, 0)), - newSocket(0), dialogId(0) { +ConnectingDialog::ConnectingDialog() : dialog(0), newSocket(0), + readyEvent(CreateEvent(0, TRUE, FALSE, 0)), dialogId(0) { } network::Socket* ConnectingDialog::connect(const char* hostAndPort) {