]> 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:08:28 +0000 (13:08 +0000)
committerPeter Åstrand <astrand@cendio.se>
Wed, 10 Dec 2008 13:08:28 +0000 (13:08 +0000)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3365 3789f03b-4d11-0410-bbf8-ca57d06f2519

win/rfb_win32/Threading.cxx

index c41ac38b7544247a38551afbf65805a680acbd6f..79607662dc743d63d8d70a5348caa0d444ca8452 100644 (file)
@@ -73,8 +73,8 @@ Thread::Thread(const char* name_) : name(strDup(name_ ? name_ : "Unnamed")), sig
   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");