summaryrefslogtreecommitdiffstats
path: root/win/rfb_win32
diff options
context:
space:
mode:
authorPeter Åstrand <astrand@cendio.se>2008-12-10 13:12:38 +0000
committerPeter Åstrand <astrand@cendio.se>2008-12-10 13:12:38 +0000
commit0a7700e524523463a35d633725d955993e692f2a (patch)
treea9f13f575a575452dd0a81d90c57623dee0b408c /win/rfb_win32
parent1dc5f6e34cb0cf79b4aa03c11ffb6af837987ae3 (diff)
downloadtigervnc-0a7700e524523463a35d633725d955993e692f2a.tar.gz
tigervnc-0a7700e524523463a35d633725d955993e692f2a.zip
Avoid GCC warning: initializer lists ordered as declarations
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3367 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'win/rfb_win32')
-rw-r--r--win/rfb_win32/WMHooks.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/win/rfb_win32/WMHooks.cxx b/win/rfb_win32/WMHooks.cxx
index 2d690538..d59a9ce5 100644
--- a/win/rfb_win32/WMHooks.cxx
+++ b/win/rfb_win32/WMHooks.cxx
@@ -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();