From 25775f1eab38dc4f0e8705983d90c20345af6056 Mon Sep 17 00:00:00 2001 From: Zephyr Lykos Date: Thu, 12 Feb 2026 20:02:16 +0800 Subject: [PATCH] absl/hash: Fix ODR violation when building shared libraries --- absl/hash/internal/hash.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/absl/hash/internal/hash.h b/absl/hash/internal/hash.h index 4fe474eb121..71db3b9c666 100644 --- a/absl/hash/internal/hash.h +++ b/absl/hash/internal/hash.h @@ -978,7 +978,7 @@ inline constexpr uint64_t kMul = uint64_t{0x79d5f9e0de1e8cf5}; // Random data taken from the hexadecimal digits of Pi's fractional component. // https://en.wikipedia.org/wiki/Nothing-up-my-sleeve_number -ABSL_CACHELINE_ALIGNED inline constexpr uint64_t kStaticRandomData[] = { +ABSL_CACHELINE_ALIGNED static inline constexpr uint64_t kStaticRandomData[] = { 0x243f'6a88'85a3'08d3, 0x1319'8a2e'0370'7344, 0xa409'3822'299f'31d0, 0x082e'fa98'ec4e'6c89, 0x4528'21e6'38d0'1377, };