Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r51535 - branches/release/boost/smart_ptr/detail
From: pdimov_at_[hidden]
Date: 2009-03-02 11:35:07


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

Log:
Merge [51514] to release. Closes #2394.
Text files modified:
   branches/release/boost/smart_ptr/detail/shared_count.hpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: branches/release/boost/smart_ptr/detail/shared_count.hpp
==============================================================================
--- branches/release/boost/smart_ptr/detail/shared_count.hpp (original)
+++ branches/release/boost/smart_ptr/detail/shared_count.hpp 2009-03-02 11:35:06 EST (Mon, 02 Mar 2009)
@@ -319,7 +319,7 @@
 
     weak_count(shared_count const & r): pi_(r.pi_) // nothrow
 #if defined(BOOST_SP_ENABLE_DEBUG_HOOKS)
- , id_(shared_count_id)
+ , id_(weak_count_id)
 #endif
     {
         if(pi_ != 0) pi_->weak_add_ref();
@@ -327,7 +327,7 @@
 
     weak_count(weak_count const & r): pi_(r.pi_) // nothrow
 #if defined(BOOST_SP_ENABLE_DEBUG_HOOKS)
- , id_(shared_count_id)
+ , id_(weak_count_id)
 #endif
     {
         if(pi_ != 0) pi_->weak_add_ref();


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