Fix g++ 3.2 regression.

[SVN r45177]
This commit is contained in:
Peter Dimov
2008-05-06 18:58:15 +00:00
parent f0f9f72be6
commit 2f1b1acc7a
4 changed files with 16 additions and 10 deletions
+1 -4
View File
@@ -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() )