forked from boostorg/smart_ptr
Remove unnecessary #ifdef
This commit is contained in:
@ -122,19 +122,22 @@ public:
|
|||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if !defined(BOOST_NO_MEMBER_TEMPLATES) || defined(BOOST_MSVC6_MEMBER_TEMPLATES)
|
|
||||||
template<class U> friend class intrusive_ptr;
|
template<class U> friend class intrusive_ptr;
|
||||||
|
|
||||||
template<class U>
|
template<class U>
|
||||||
#if !defined( BOOST_SP_NO_SP_CONVERTIBLE )
|
#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())
|
intrusive_ptr(intrusive_ptr<U> && rhs, typename boost::detail::sp_enable_if_convertible<U,T>::type = boost::detail::sp_empty())
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
intrusive_ptr(intrusive_ptr<U> && rhs)
|
intrusive_ptr(intrusive_ptr<U> && rhs)
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
: px( rhs.px )
|
: px( rhs.px )
|
||||||
{
|
{
|
||||||
rhs.px = 0;
|
rhs.px = 0;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user