Re: [Boost-bugs] [Boost C++ Libraries] #1007: boost::signals::trackable::operator= bug

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #1007: boost::signals::trackable::operator= bug
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2007-06-11 20:16:55


#1007: boost::signals::trackable::operator= bug
-----------------------------+----------------------------------------------
  Reporter: anonymous | Owner: dgregor
      Type: Bugs | Status: closed
 Milestone: | Component: signals
   Version: release 1.34.0 | Severity: Problem
Resolution: fixed | Keywords:
-----------------------------+----------------------------------------------
Changes (by dgregor):

  * status: assigned => closed
  * resolution: => fixed

Comment:

 This is the fix, which is committed to the Boost trunk for future
 releases. It is probably too late for 1.34.1:

 Index: trackable.hpp
 ===================================================================
 RCS file: /cvsroot/boost/boost/boost/signals/trackable.hpp,v
 retrieving revision 1.19
 diff -u -r1.19 trackable.hpp
 --- trackable.hpp 26 Dec 2004 22:05:19 -0000 1.19
 +++ trackable.hpp 11 Jun 2007 20:16:13 -0000
 @@ -43,7 +43,9 @@

      trackable& operator=(const trackable&)
      {
 + dying = true;
        connected_signals.clear();
 + dying = false;
        return *this;
      }

--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1007#comment:2>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.


This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:55 UTC