From: Peter Åstrand Date: Wed, 10 Dec 2008 12:59:58 +0000 (+0000) Subject: Avoid GCC warning: initializer lists ordered as declarations X-Git-Tag: v0.0.90~306 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f318be8a18a17107010cb9fa8fb4b53dda681829;p=tigervnc.git Avoid GCC warning: initializer lists ordered as declarations git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3363 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- diff --git a/win/rfb_win32/SDisplayCorePolling.cxx b/win/rfb_win32/SDisplayCorePolling.cxx index 510ffb1f..349b3d59 100644 --- a/win/rfb_win32/SDisplayCorePolling.cxx +++ b/win/rfb_win32/SDisplayCorePolling.cxx @@ -32,8 +32,8 @@ const int POLLING_SEGMENTS = 16; const int SDisplayCorePolling::pollTimerId = 1; SDisplayCorePolling::SDisplayCorePolling(SDisplay* d, UpdateTracker* ut, int pollInterval_) - : MsgWindow(_T("rfb::win32::SDisplayCorePolling")), updateTracker(ut), - pollTimer(getHandle(), pollTimerId), pollNextStrip(false), display(d) { + : MsgWindow(_T("rfb::win32::SDisplayCorePolling")), + pollTimer(getHandle(), pollTimerId), pollNextStrip(false), display(d), updateTracker(ut) { pollInterval = __rfbmax(10, (pollInterval_ / POLLING_SEGMENTS)); copyrect.setUpdateTracker(ut); }