Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r71447 - sandbox/pack_ptr/boost
From: phil_at_[hidden]
Date: 2011-04-23 18:08:09


Author: pbouchard
Date: 2011-04-23 18:08:09 EDT (Sat, 23 Apr 2011)
New Revision: 71447
URL: http://svn.boost.org/trac/boost/changeset/71447

Log:
* Code cleanup
Text files modified:
   sandbox/pack_ptr/boost/pack_ptr.hpp | 5 +++--
   1 files changed, 3 insertions(+), 2 deletions(-)

Modified: sandbox/pack_ptr/boost/pack_ptr.hpp
==============================================================================
--- sandbox/pack_ptr/boost/pack_ptr.hpp (original)
+++ sandbox/pack_ptr/boost/pack_ptr.hpp 2011-04-23 18:08:09 EDT (Sat, 23 Apr 2011)
@@ -386,14 +386,15 @@
                         new (ps_) pack_header();
                                         }
                     else
+ {
                         delete ps_;
+ }
                 }
                 else
                 {
                     base::reset();
 
- if (! d)
- ps_ = new pack_header();
+ ps_ = new pack_header();
                 }
             }
             else


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