Remove unnecessary #ifdef

This commit is contained in:
Peter Dimov
2016-05-17 18:34:18 +03:00
parent 097d2e9bf9
commit a7ade6f062

View File

@ -122,19 +122,22 @@ public:
return *this;
}
#if !defined(BOOST_NO_MEMBER_TEMPLATES) || defined(BOOST_MSVC6_MEMBER_TEMPLATES)
template<class U> friend class intrusive_ptr;
template<class U>
#if !defined( BOOST_SP_NO_SP_CONVERTIBLE )
intrusive_ptr(intrusive_ptr<U> && rhs, typename boost::detail::sp_enable_if_convertible<U,T>::type = boost::detail::sp_empty())
#else
intrusive_ptr(intrusive_ptr<U> && rhs)
#endif
: px( rhs.px )
{
rhs.px = 0;
}
#endif
#endif