Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r51516 - trunk/boost/smart_ptr
From: pdimov_at_[hidden]
Date: 2009-03-01 12:27:36


Author: pdimov
Date: 2009-03-01 12:27:35 EST (Sun, 01 Mar 2009)
New Revision: 51516
URL: http://svn.boost.org/trac/boost/changeset/51516

Log:
Refs #2662 (applied to trunk.)
Text files modified:
   trunk/boost/smart_ptr/make_shared.hpp | 5 +++++
   1 files changed, 5 insertions(+), 0 deletions(-)

Modified: trunk/boost/smart_ptr/make_shared.hpp
==============================================================================
--- trunk/boost/smart_ptr/make_shared.hpp (original)
+++ trunk/boost/smart_ptr/make_shared.hpp 2009-03-01 12:27:35 EST (Sun, 01 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