From: Peter Åstrand Date: Wed, 10 Dec 2008 13:08:28 +0000 (+0000) Subject: Avoid GCC warning: initializer lists ordered as declarations X-Git-Tag: v0.0.90~304 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=db6d999494feb62dcda4ea57721814c92de15033;p=tigervnc.git 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 c41ac38b..79607662 100644 --- a/win/rfb_win32/Threading.cxx +++ b/win/rfb_win32/Threading.cxx @@ -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");