From 945c013a12dd263aa03bb67a00680eea9c6a6a54 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Wed, 7 Nov 2012 23:45:31 +0000 Subject: [PATCH] Fix typo. [SVN r81239] --- 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 086cd05..25c366e 100644 --- a/include/boost/smart_ptr/allocate_shared_array.hpp +++ b/include/boost/smart_ptr/allocate_shared_array.hpp @@ -44,7 +44,7 @@ namespace boost { size_t n1 = size * detail::array_size::size; detail::allocate_array_helper a1(allocator, n1, &p2); detail::array_deleter d1; - shared_ptr s1(p2, d1, a1); + shared_ptr s1(p1, d1, a1); detail::array_deleter* d2; p1 = reinterpret_cast(p2); d2 = get_deleter >(s1);