diff options
Diffstat (limited to 'boost/smart_ptr/shared_ptr.hpp')
-rw-r--r-- | boost/smart_ptr/shared_ptr.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/boost/smart_ptr/shared_ptr.hpp b/boost/smart_ptr/shared_ptr.hpp index 47bc33d517..bcefda8897 100644 --- a/boost/smart_ptr/shared_ptr.hpp +++ b/boost/smart_ptr/shared_ptr.hpp @@ -1065,7 +1065,7 @@ template< class T > struct hash; template< class T > std::size_t hash_value( boost::shared_ptr<T> const & p ) BOOST_NOEXCEPT { - return boost::hash< T* >()( p.get() ); + return boost::hash< typename boost::shared_ptr<T>::element_type* >()( p.get() ); } } // namespace boost |