Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r82810 - trunk/boost/interprocess/smart_ptr/detail
From: igaztanaga_at_[hidden]
Date: 2013-02-10 17:07:42


Author: igaztanaga
Date: 2013-02-10 17:07:41 EST (Sun, 10 Feb 2013)
New Revision: 82810
URL: http://svn.boost.org/trac/boost/changeset/82810

Log:
Fixes #7164 (first bug only)
Text files modified:
   trunk/boost/interprocess/smart_ptr/detail/shared_count.hpp | 1 +
   1 files changed, 1 insertions(+), 0 deletions(-)

Modified: trunk/boost/interprocess/smart_ptr/detail/shared_count.hpp
==============================================================================
--- trunk/boost/interprocess/smart_ptr/detail/shared_count.hpp (original)
+++ trunk/boost/interprocess/smart_ptr/detail/shared_count.hpp 2013-02-10 17:07:41 EST (Sun, 10 Feb 2013)
@@ -284,6 +284,7 @@
 
    weak_count & operator= (weak_count const & r) // nothrow
    {
+ m_px = r.m_px;
       counted_impl_ptr tmp = r.m_pi;
       if(tmp != 0) tmp->weak_add_ref();
       if(m_pi != 0) m_pi->weak_release();


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