forked from boostorg/smart_ptr
Remove uses of BOOST_NO_CXX11_HDR_FUNCTIONAL
This commit is contained in:
@@ -248,8 +248,6 @@ template< class T > std::size_t hash_value( boost::weak_ptr<T> const & p ) BOOST
|
||||
namespace std
|
||||
{
|
||||
|
||||
#if !defined(BOOST_NO_CXX11_HDR_FUNCTIONAL)
|
||||
|
||||
template<class T> struct hash< ::boost::weak_ptr<T> >
|
||||
{
|
||||
std::size_t operator()( ::boost::weak_ptr<T> const & p ) const BOOST_SP_NOEXCEPT
|
||||
@@ -258,8 +256,6 @@ template<class T> struct hash< ::boost::weak_ptr<T> >
|
||||
}
|
||||
};
|
||||
|
||||
#endif // #if !defined(BOOST_NO_CXX11_HDR_FUNCTIONAL)
|
||||
|
||||
template<class T> struct equal_to< ::boost::weak_ptr<T> >
|
||||
{
|
||||
bool operator()( ::boost::weak_ptr<T> const & a, ::boost::weak_ptr<T> const & b ) const BOOST_SP_NOEXCEPT
|
||||
|
||||
Reference in New Issue
Block a user