Index: runtime/vm/os_thread_android.h |
diff --git a/runtime/vm/os_thread_android.h b/runtime/vm/os_thread_android.h |
index 061066ed61551f780ba99fcbe694e85d7768c299..c4f398157ab276e61000be87cdbf55e13fdda3c8 100644 |
--- a/runtime/vm/os_thread_android.h |
+++ b/runtime/vm/os_thread_android.h |
@@ -20,13 +20,17 @@ typedef pthread_key_t ThreadLocalKey; |
typedef pid_t ThreadId; |
typedef pthread_t ThreadJoinId; |
+ |
+static const ThreadLocalKey kUnsetThreadLocalKey = |
+ static_cast<pthread_key_t>(-1); |
+ |
+ |
class ThreadInlineImpl { |
private: |
ThreadInlineImpl() {} |
~ThreadInlineImpl() {} |
static uword GetThreadLocal(ThreadLocalKey key) { |
- static ThreadLocalKey kUnsetThreadLocalKey = static_cast<pthread_key_t>(-1); |
ASSERT(key != kUnsetThreadLocalKey); |
return reinterpret_cast<uword>(pthread_getspecific(key)); |
} |