From 8459e11a508162d02000420f3ced5814a5743c08 Mon Sep 17 00:00:00 2001 From: Rose <83477269+AtariDreams@users.noreply.github.com> Date: Tue, 21 Feb 2023 09:32:30 -0500 Subject: 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. --- absl/hash/internal/hash.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'absl/hash') 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 { // 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(reinterpret_cast(&kSeed)); #else // Workaround the absence of -- cgit v1.2.3