diff options
Diffstat (limited to 'base/threading/thread_local.h')
-rw-r--r-- | base/threading/thread_local.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/threading/thread_local.h b/base/threading/thread_local.h index 3cdcb94..79cf3c5 100644 --- a/base/threading/thread_local.h +++ b/base/threading/thread_local.h @@ -114,7 +114,7 @@ class ThreadLocalBoolean { } void Set(bool val) { - tlp_.Set(reinterpret_cast<void*>(val ? 1 : 0)); + tlp_.Set(val ? this : NULL); } private: |