diff --git a/include/boost/container_hash/hash.hpp b/include/boost/container_hash/hash.hpp index 391d9b7..eeaca31 100644 --- a/include/boost/container_hash/hash.hpp +++ b/include/boost/container_hash/hash.hpp @@ -25,8 +25,10 @@ #include #include #include +#include #include #include +#include #include #include #include @@ -131,14 +133,14 @@ namespace boost } // namespace hash_detail template - typename boost::enable_if_::value && !boost::is_signed::value, std::size_t>::type + typename boost::enable_if_, boost::is_unsigned >::value, std::size_t>::type hash_value( T v ) { return hash_detail::hash_integral_impl::fn( v ); } template - typename boost::enable_if_::value && boost::is_signed::value, std::size_t>::type + typename boost::enable_if_, boost::is_signed >::value, std::size_t>::type hash_value( T v ) { typedef typename boost::make_unsigned::type U;