From 7ce5b6b2a938d4ee949ae529afc0cadcfabbc24d Mon Sep 17 00:00:00 2001 From: Glen Fernandes Date: Tue, 11 Feb 2014 08:39:52 -0800 Subject: [PATCH] Fix use of ms_init in no C++11 allocator case --- include/boost/smart_ptr/allocate_shared_array.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);