diff --git a/include/boost/smart_ptr/allocate_shared_array.hpp b/include/boost/smart_ptr/allocate_shared_array.hpp index b260520..fdaec42 100644 --- a/include/boost/smart_ptr/allocate_shared_array.hpp +++ b/include/boost/smart_ptr/allocate_shared_array.hpp @@ -119,7 +119,7 @@ namespace boost { #if !defined(BOOST_NO_CXX11_ALLOCATOR) boost::detail::as_init(allocator, p2, N, p3); #else - boost::detail::as_init(p2, N, p3); + boost::detail::ms_init(p2, N, p3); #endif A1* a2 = static_cast(s1._internal_get_untyped_deleter()); a2->set(p2);