mirror of
https://github.com/boostorg/smart_ptr.git
synced 2025-08-01 13:44:37 +02:00
Fix use of ms_init in no C++11 allocator case
This commit is contained in:
@@ -119,7 +119,7 @@ namespace boost {
|
|||||||
#if !defined(BOOST_NO_CXX11_ALLOCATOR)
|
#if !defined(BOOST_NO_CXX11_ALLOCATOR)
|
||||||
boost::detail::as_init<T2, A, M>(allocator, p2, N, p3);
|
boost::detail::as_init<T2, A, M>(allocator, p2, N, p3);
|
||||||
#else
|
#else
|
||||||
boost::detail::as_init<T2, M>(p2, N, p3);
|
boost::detail::ms_init<T2, M>(p2, N, p3);
|
||||||
#endif
|
#endif
|
||||||
A1* a2 = static_cast<A1*>(s1._internal_get_untyped_deleter());
|
A1* a2 = static_cast<A1*>(s1._internal_get_untyped_deleter());
|
||||||
a2->set(p2);
|
a2->set(p2);
|
||||||
|
Reference in New Issue
Block a user