diff options
author | Copybara-Service <copybara-worker@google.com> | 2022-08-12 07:33:25 -0700 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2022-08-12 07:33:25 -0700 |
commit | 61f84d623d2a8591501012bf325e1439777a4911 (patch) | |
tree | 711084e11279bfd4b20cfd87512d7c0a7b9a09e0 | |
parent | 252bb88f1ba68be656912d073b452b019737e8e8 (diff) | |
parent | 0335c3d2a035d1ed1c25882bdb6080ffc8c98cf8 (diff) |
Merge pull request #1250 from jonathan-conder-sm:gcc_72
PiperOrigin-RevId: 467205997
Change-Id: I2f579b98cb93486bc07d39e54df386e45d02a3fa
-rw-r--r-- | absl/hash/internal/hash.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/absl/hash/internal/hash.h b/absl/hash/internal/hash.h index 45dfdd46..dbdc2050 100644 --- a/absl/hash/internal/hash.h +++ b/absl/hash/internal/hash.h @@ -444,7 +444,7 @@ H AbslHashValue(H hash_state, T C::* ptr) { // On other platforms, we assume that pointers-to-members do not have // padding. #ifdef __cpp_lib_has_unique_object_representations - static_assert(std::has_unique_object_representations_v<T C::*>); + static_assert(std::has_unique_object_representations<T C::*>::value); #endif // __cpp_lib_has_unique_object_representations return n; #endif |