diff options
author | Andy Getz <durandal@google.com> | 2022-08-31 13:15:21 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-31 13:15:21 -0400 |
commit | 8c0b94e793a66495e0b1f34a5eb26bd7dc672db0 (patch) | |
tree | 5685f426bc948eb01731ea946074f815711260cc /absl/strings/internal/str_format/constexpr_parser.h | |
parent | 273292d1cfc0a94a65082ee350509af1d113344d (diff) | |
download | abseil-8c0b94e793a66495e0b1f34a5eb26bd7dc672db0.tar.gz abseil-8c0b94e793a66495e0b1f34a5eb26bd7dc672db0.tar.bz2 abseil-8c0b94e793a66495e0b1f34a5eb26bd7dc672db0.zip |
Switch time_state to explicit default initialization instead of value initialization. (#1261)
It looks to me like the language rules treat these the same for this type, but evidently GCC feels differently.
This only matters under TSAN where SpinLock has a non-trivial destructor, and under C++20 where ABSL_CONST_INIT is implemented (as constinit) by gcc.
Fixes #1253
PiperOrigin-RevId: 469806751
Change-Id: Ic01b0142101f361bc19c95f9f9474e635669c58d
Diffstat (limited to 'absl/strings/internal/str_format/constexpr_parser.h')
0 files changed, 0 insertions, 0 deletions