From 143d9b1599a82a35165fd8e17f249998f95f15d0 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 12 Dec 2007 20:12:03 +0000 Subject: Fix initialisation order warnings. git-svn-id: http://svn.drobilla.net/lad/raul@972 a436a847-0d15-0410-975c-d299462d15a1 --- src/Thread.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/Thread.cpp b/src/Thread.cpp index efa4c12..05ef2bc 100644 --- a/src/Thread.cpp +++ b/src/Thread.cpp @@ -28,9 +28,9 @@ pthread_key_t Thread::_thread_key; Thread::Thread(const string& name) - : _context(0) + : _exit_flag(false) + , _context(0) , _name(name) - , _exit_flag(false) , _pthread_exists(false) { pthread_once(&_thread_key_once, thread_key_alloc); @@ -40,9 +40,9 @@ Thread::Thread(const string& name) /** Must be called from thread */ Thread::Thread(pthread_t thread, const string& name) - : _context(0) + : _exit_flag(false) + , _context(0) , _name(name) - , _exit_flag(false) , _pthread_exists(true) , _pthread(thread) { -- cgit v1.2.1