|
Boost-Commit : |
From: fmhess_at_[hidden]
Date: 2008-02-28 14:59:40
Author: fmhess
Date: 2008-02-28 14:59:40 EST (Thu, 28 Feb 2008)
New Revision: 43432
URL: http://svn.boost.org/trac/boost/changeset/43432
Log:
Fixed bogus assertion failure, reported by Steve Hand.
Text files modified:
sandbox/thread_safe_signals/boost/thread_safe_signals/detail/signal_template.hpp | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
Modified: sandbox/thread_safe_signals/boost/thread_safe_signals/detail/signal_template.hpp
==============================================================================
--- sandbox/thread_safe_signals/boost/thread_safe_signals/detail/signal_template.hpp (original)
+++ sandbox/thread_safe_signals/boost/thread_safe_signals/detail/signal_template.hpp 2008-02-28 14:59:40 EST (Thu, 28 Feb 2008)
@@ -324,8 +324,7 @@
{
if(_shared_state.unique() == false)
{
- shared_ptr<invocation_state> newState(new invocation_state(*_shared_state));
- _shared_state = newState;
+ _shared_state = shared_ptr<invocation_state>(new invocation_state(*_shared_state));
nolock_cleanup_connections(true, _shared_state->connection_bodies.begin());
}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