Avoid GCC warning: initializer lists ordered as declarations
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3365 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/win/rfb_win32/Threading.cxx b/win/rfb_win32/Threading.cxx
index c41ac38..7960766 100644
--- a/win/rfb_win32/Threading.cxx
+++ b/win/rfb_win32/Threading.cxx
@@ -73,8 +73,8 @@
logAction(this, "created");
}
-Thread::Thread(HANDLE thread_, DWORD thread_id_) : name(strDup("Native")), sig(0), deleteAfterRun(false),
- thread(thread_), thread_id(thread_id_) {
+Thread::Thread(HANDLE thread_, DWORD thread_id_) :
+ thread(thread_), thread_id(thread_id_), name(strDup("Native")), sig(0), deleteAfterRun(false) {
cond_event.h = CreateEvent(NULL, TRUE, FALSE, NULL);
state = ThreadNative;
logAction(this, "created");