Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r51537 - branches/release/boost/smart_ptr
From: pdimov_at_[hidden]
Date: 2009-03-02 11:39:54


Author: pdimov
Date: 2009-03-02 11:39:53 EST (Mon, 02 Mar 2009)
New Revision: 51537
URL: http://svn.boost.org/trac/boost/changeset/51537

Log:
Merge [51516] to release. Closes #2662.
Text files modified:
   branches/release/boost/smart_ptr/make_shared.hpp | 5 +++++
   1 files changed, 5 insertions(+), 0 deletions(-)

Modified: branches/release/boost/smart_ptr/make_shared.hpp
==============================================================================
--- branches/release/boost/smart_ptr/make_shared.hpp (original)
+++ branches/release/boost/smart_ptr/make_shared.hpp 2009-03-02 11:39:53 EST (Mon, 02 Mar 2009)
@@ -60,6 +60,11 @@
     {
     }
 
+ // optimization: do not copy storage_
+ sp_ms_deleter( sp_ms_deleter const & ): initialized_( false )
+ {
+ }
+
     ~sp_ms_deleter()
     {
         destroy();


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