diff options
author | Hidehiko Abe <hidehiko@google.com> | 2018-02-22 02:41:22 +0900 |
---|---|---|
committer | Treehugger Robot <treehugger-gerrit@google.com> | 2018-02-22 00:25:05 +0000 |
commit | d5a42bb5162a69f1e305f4353c9c2dd5cda33934 (patch) | |
tree | ed2b17ad15909d4e760b62854d1c41f3e31aca3c /base/threading/thread_local_storage.h | |
parent | db03e04f4e02b208da755fc87770ee92c1ed0657 (diff) | |
download | libchrome-d5a42bb5162a69f1e305f4353c9c2dd5cda33934.tar.gz |
Remove modification for missing-field-initializers from sources.
Since C++11, we have concrete semantics.
Thus, we rely on it.
Note that, we still need to keep LAZY_INSTANCE_INITIALIZER
because it is a macro used in other project, which may
have missing-field-initializers warning enabled.
Bug: 73270448
Test: Built locally. Treehugger.
Change-Id: Ieb59b25c2936d27c3501d21098b248fac2778f0a
Diffstat (limited to 'base/threading/thread_local_storage.h')
-rw-r--r-- | base/threading/thread_local_storage.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/threading/thread_local_storage.h b/base/threading/thread_local_storage.h index 5e70410af9..fd2a789d01 100644 --- a/base/threading/thread_local_storage.h +++ b/base/threading/thread_local_storage.h @@ -94,7 +94,7 @@ class BASE_EXPORT ThreadLocalStorage { // initialization, as base's LINKER_INITIALIZED requires a constructor and on // some compilers (notably gcc 4.4) this still ends up needing runtime // initialization. -#define TLS_INITIALIZER {false, 0, 0} + #define TLS_INITIALIZER {0} // A key representing one value stored in TLS. // Initialize like |