$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-commit] svn:boost r51514 - trunk/boost/smart_ptr/detail
From: pdimov_at_[hidden]
Date: 2009-03-01 12:10:49
Author: pdimov
Date: 2009-03-01 12:10:49 EST (Sun, 01 Mar 2009)
New Revision: 51514
URL: http://svn.boost.org/trac/boost/changeset/51514
Log:
Refs #2394 (fixed in trunk.)
Text files modified: 
   trunk/boost/smart_ptr/detail/shared_count.hpp |     4 ++--                                    
   1 files changed, 2 insertions(+), 2 deletions(-)
Modified: trunk/boost/smart_ptr/detail/shared_count.hpp
==============================================================================
--- trunk/boost/smart_ptr/detail/shared_count.hpp	(original)
+++ trunk/boost/smart_ptr/detail/shared_count.hpp	2009-03-01 12:10:49 EST (Sun, 01 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();