Boost logo

Boost-Commit :

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


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

Log:
* Code cleanup
Text files modified:
   sandbox/pack_ptr/boost/pack_ptr.hpp | 9 ---------
   1 files changed, 0 insertions(+), 9 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:39:38 EDT (Sat, 23 Apr 2011)
@@ -381,29 +381,20 @@
                     base::po_ = 0;
 
                     if (! d)
- {
- ps_->~pack_header();
                         new (ps_) pack_header();
- }
                     else
- {
                         delete ps_;
- }
                 }
                 else
                 {
                     base::reset();
 
                                         if (! d)
- {
                             ps_ = new pack_header();
- }
                 }
             }
             else
- {
                 base::reset();
- }
         }
 
                 


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