diff options
Diffstat (limited to 'boost/functional/hash/extensions.hpp')
-rw-r--r-- | boost/functional/hash/extensions.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/boost/functional/hash/extensions.hpp b/boost/functional/hash/extensions.hpp index eafaefe85d..cb3c85623b 100644 --- a/boost/functional/hash/extensions.hpp +++ b/boost/functional/hash/extensions.hpp @@ -254,7 +254,7 @@ namespace boost #if !defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) template <class T> struct hash - : std::unary_function<T, std::size_t> + : boost::hash_detail::hash_base<T> { #if !defined(BOOST_NO_FUNCTION_TEMPLATE_ORDERING) std::size_t operator()(T const& val) const @@ -271,7 +271,7 @@ namespace boost #if BOOST_WORKAROUND(__DMC__, <= 0x848) template <class T, unsigned int n> struct hash<T[n]> - : std::unary_function<T[n], std::size_t> + : boost::hash_detail::hash_base<T[n]> { std::size_t operator()(const T* val) const { @@ -296,7 +296,7 @@ namespace boost { template <class T> struct inner - : std::unary_function<T, std::size_t> + : boost::hash_detail::hash_base<T> { #if !defined(BOOST_NO_FUNCTION_TEMPLATE_ORDERING) std::size_t operator()(T const& val) const |