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

win/rfb_win32/WMHooks.cxx

index 2d69053819da5485370bfa41e7b7ed8d65fc4812..d59a9ce59bf33c5723500e27f53221d3d222feae 100644 (file)
@@ -46,10 +46,11 @@ DynamicFn<WM_Hooks_SetDiagnosticRange_proto> WM_Hooks_SetDiagnosticRange(_T("wm_
 
 class WMHooksThread : public Thread {
 public:
-  WMHooksThread() : Thread("WMHookThread"), active(true),
+  WMHooksThread() : Thread("WMHookThread"), 
     WM_Hooks_Install(_T("wm_hooks.dll"), "WM_Hooks_Install"),
     WM_Hooks_Remove(_T("wm_hooks.dll"), "WM_Hooks_Remove"),
-    WM_Hooks_EnableCursorShape(_T("wm_hooks.dll"), "WM_Hooks_EnableCursorShape") {
+    WM_Hooks_EnableCursorShape(_T("wm_hooks.dll"), "WM_Hooks_EnableCursorShape"),
+    active(true) {
   }
   virtual void run();
   virtual Thread* join();