Do not use A::destroy in allocate_shared_noinit

This commit is contained in:
Peter Dimov
2017-06-21 13:44:17 +03:00
parent ca7a01a593
commit 2d087d0003

View File

@ -165,7 +165,7 @@ template<class T, class A> typename boost::detail::lsp_if_not_array<T>::type all
A2 a2( a );
typedef boost::detail::lsp_ms_deleter<T, A2> D;
typedef boost::detail::lsp_ms_deleter< T, std::allocator<T> > D;
boost::shared_ptr<T> pt( static_cast< T* >( 0 ), boost::detail::sp_inplace_tag<D>(), a2 );