diff --git a/include/boost/optional/detail/optional_hash.hpp b/include/boost/optional/detail/optional_hash.hpp index fad5ce0..234ee7b 100644 --- a/include/boost/optional/detail/optional_hash.hpp +++ b/include/boost/optional/detail/optional_hash.hpp @@ -24,7 +24,7 @@ namespace std template struct hash > { - typedef typename hash::result_type result_type; + typedef std::size_t result_type; typedef boost::optional argument_type; BOOST_CONSTEXPR result_type operator()(const argument_type& arg) const { @@ -35,7 +35,7 @@ namespace std template struct hash > { - typedef typename hash::result_type result_type; + typedef std::size_t result_type; typedef boost::optional argument_type; BOOST_CONSTEXPR result_type operator()(const argument_type& arg) const {