]> source.dussan.org Git - tigervnc.git/commitdiff
Avoid GCC warning: initializer lists ordered as declarations
authorPeter Åstrand <astrand@cendio.se>
Wed, 10 Dec 2008 12:59:58 +0000 (12:59 +0000)
committerPeter Åstrand <astrand@cendio.se>
Wed, 10 Dec 2008 12:59:58 +0000 (12:59 +0000)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3363 3789f03b-4d11-0410-bbf8-ca57d06f2519

win/rfb_win32/SDisplayCorePolling.cxx

index 510ffb1f5c06586c0d5763ea904775f393af3c13..349b3d59cf162a898d47185906fa5c1fb45c10f3 100644 (file)
@@ -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);
 }