diff --git a/include/boost/unordered/detail/implementation.hpp b/include/boost/unordered/detail/implementation.hpp index 27f2e330..a4ae2222 100644 --- a/include/boost/unordered/detail/implementation.hpp +++ b/include/boost/unordered/detail/implementation.hpp @@ -2001,7 +2001,8 @@ namespace boost { static inline SizeT apply_hash(Hash const& hf, T const& x) { // https://en.wikipedia.org/wiki/Hash_function#Fibonacci_hashing - SizeT const m = 11400714819323198485ull; // 2^64 / phi + // SizeT const m = 11400714819323198485ull; // 2^64 / phi + SizeT const m = ( SizeT(0x9e3779b9u) << 32 ) + 0x7f4a7c15u; return hf(x) * m; }