Fix use of ms_init in no C++11 allocator case

This commit is contained in:
Glen Fernandes
2014-02-11 08:39:52 -08:00
parent 7e3ae44bc2
commit 7ce5b6b2a9

View File

@ -119,7 +119,7 @@ namespace boost {
#if !defined(BOOST_NO_CXX11_ALLOCATOR)
boost::detail::as_init<T2, A, M>(allocator, p2, N, p3);
#else
boost::detail::as_init<T2, M>(p2, N, p3);
boost::detail::ms_init<T2, M>(p2, N, p3);
#endif
A1* a2 = static_cast<A1*>(s1._internal_get_untyped_deleter());
a2->set(p2);