From bfd11a70a03cb5ae24c1483d9c1d3707eb6c9cc9 Mon Sep 17 00:00:00 2001 From: joaquintides Date: Thu, 27 Oct 2022 18:16:26 +0200 Subject: [PATCH] reverted --- include/boost/unordered/detail/foa.hpp | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/include/boost/unordered/detail/foa.hpp b/include/boost/unordered/detail/foa.hpp index 7f657d6f..5f731494 100644 --- a/include/boost/unordered/detail/foa.hpp +++ b/include/boost/unordered/detail/foa.hpp @@ -1384,18 +1384,8 @@ public: template BOOST_FORCEINLINE iterator find(const Key& x) { - //auto hash=hash_for(x); - auto hash=h()(x); - - boost::uint64_t z=(boost::uint64_t)hash; - - z^=z>>23; - z*=0xff51afd7ed558ccdull; - z^=z>>23; - - //hash=(std::size_t)z; - - return find_impl(x,position_for(z),z); + auto hash=hash_for(x); + return find_impl(x,position_for(hash),hash); } template