forked from boostorg/smart_ptr
Fix g++ 3.2 regression.
[SVN r45177]
This commit is contained in:
1 parent
f0f9f72be6
commit
2f1b1acc7a
4 files changed
+16
-10
No files matched your search
@@ -31,10 +31,7 @@
|
||||
#include <boost/throw_exception.hpp>
|
||||
#include <boost/detail/shared_count.hpp>
|
||||
#include <boost/detail/workaround.hpp>
|
||||
|
||||
#if !defined( BOOST_NO_SFINAE )
|
||||
#include <boost/detail/sp_convertible.hpp>
|
||||
#endif
|
||||
|
||||
#if !defined(BOOST_SP_NO_ATOMIC_ACCESS)
|
||||
#include <boost/detail/spinlock_pool.hpp>
|
||||
@@ -228,7 +225,7 @@ public:
|
||||
}
|
||||
|
||||
template<class Y>
|
||||
#if !defined( BOOST_NO_SFINAE )
|
||||
#if !defined( BOOST_SP_NO_SP_CONVERTIBLE )
|
||||
|
||||
shared_ptr( shared_ptr<Y> const & r, typename detail::sp_enable_if_convertible<Y,T>::type = detail::sp_empty() )
|
||||
|
||||
|
||||
Reference in new issue
Block a user