diff --git a/include/boost/container_hash/hash.hpp b/include/boost/container_hash/hash.hpp index 72b8378..090250b 100644 --- a/include/boost/container_hash/hash.hpp +++ b/include/boost/container_hash/hash.hpp @@ -362,8 +362,7 @@ namespace boost std::size_t re = boost::hash()( v.real() ); std::size_t im = boost::hash()( v.imag() ); - im ^= re + ( im << 6 ) + ( im >> 2 ); - return im; + return re + hash_detail::hash_mix( im ); } // pair