summaryrefslogtreecommitdiff
path: root/absl
diff options
context:
space:
mode:
authorGravatar Rose <83477269+AtariDreams@users.noreply.github.com>2023-02-21 09:32:30 -0500
committerGravatar Rose <83477269+AtariDreams@users.noreply.github.com>2023-02-21 09:45:43 -0500
commit8459e11a508162d02000420f3ced5814a5743c08 (patch)
tree2dca996ba993fd4c976eec88d677902ff71416e9 /absl
parentbd624d9f9825f76f14453beb3df81d82b9e17062 (diff)
Remove check for apple_build_version for hash workaround
Apple's clang fork has the missing commit now, and we can safely use the above codepath.
Diffstat (limited to 'absl')
-rw-r--r--absl/hash/internal/hash.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/absl/hash/internal/hash.h b/absl/hash/internal/hash.h
index eb50e2c7..f81b81bf 100644
--- a/absl/hash/internal/hash.h
+++ b/absl/hash/internal/hash.h
@@ -1136,7 +1136,7 @@ class ABSL_DLL MixingHashState : public HashStateBase<MixingHashState> {
// probably per-build and not per-process.
ABSL_ATTRIBUTE_ALWAYS_INLINE static uint64_t Seed() {
#if (!defined(__clang__) || __clang_major__ > 11) && \
- !defined(__apple_build_version__)
+ (!defined(__apple_build_version__) || __apple_build_version__ >= 19558921) // Xcode 12
return static_cast<uint64_t>(reinterpret_cast<uintptr_t>(&kSeed));
#else
// Workaround the absence of