Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r81239 - trunk/boost/smart_ptr
From: pdimov_at_[hidden]
Date: 2012-11-07 18:45:32


Author: pdimov
Date: 2012-11-07 18:45:31 EST (Wed, 07 Nov 2012)
New Revision: 81239
URL: http://svn.boost.org/trac/boost/changeset/81239

Log:
Fix typo.
Text files modified:
   trunk/boost/smart_ptr/allocate_shared_array.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/smart_ptr/allocate_shared_array.hpp
==============================================================================
--- trunk/boost/smart_ptr/allocate_shared_array.hpp (original)
+++ trunk/boost/smart_ptr/allocate_shared_array.hpp 2012-11-07 18:45:31 EST (Wed, 07 Nov 2012)
@@ -44,7 +44,7 @@
         size_t n1 = size * detail::array_size<T1>::size;
         detail::allocate_array_helper<A, T2> a1(allocator, n1, &p2);
         detail::array_deleter<T2> d1;
- shared_ptr<T> s1(p2, d1, a1);
+ shared_ptr<T> s1(p1, d1, a1);
         detail::array_deleter<T2>* d2;
         p1 = reinterpret_cast<T1*>(p2);
         d2 = get_deleter<detail::array_deleter<T2> >(s1);


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk