Re: [Boost-bugs] [Boost C++ Libraries] #10987: bug in any_xxx_node_traits, returning by reference (was: bstree_algo::rotate_left bug)

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #10987: bug in any_xxx_node_traits, returning by reference (was: bstree_algo::rotate_left bug)
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-02-02 16:27:19


#10987: bug in any_xxx_node_traits, returning by reference
-------------------------------+-------------------------
  Reporter: apkulikov@… | Owner: igaztanaga
      Type: Bugs | Status: closed
 Milestone: To Be Determined | Component: intrusive
   Version: Boost 1.57.0 | Severity: Showstopper
Resolution: fixed | Keywords:
-------------------------------+-------------------------
Changes (by igaztanaga):

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

Comment:

 Ok, I see. The problem is in the any hook member, it should not return by
 reference. This was changed in all other node_traits and it seems I forgot
 to do the same with any_xxx_node_traits classes.

 Fixed in:

 https://github.com/boostorg/intrusive/commit/b9aa032d981ad65fce5ea99179e22c25e35f03e8

 Thanks for the report.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/10987#comment:5>
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:50:17 UTC