[Boost-bugs] [Boost C++ Libraries] #2587: Call to test_suite::remove fails to remove correct item

Subject: [Boost-bugs] [Boost C++ Libraries] #2587: Call to test_suite::remove fails to remove correct item
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-12-13 01:49:23


#2587: Call to test_suite::remove fails to remove correct item
--------------------------+-------------------------------------------------
 Reporter: Brad Larsen | Owner: rogeeff
     Type: Bugs | Status: new
Milestone: Boost 1.38.0 | Component: test
  Version: Boost 1.36.0 | Severity: Problem
 Keywords: |
--------------------------+-------------------------------------------------
 A small glitch...

 file: /boost/test/impl/unit_test_suite.ipp

 test_suite::remove function, line 157:

 {{{
 std::vector<test_unit_id>::iterator it = std::find( m_members.begin(),
 m_members.begin(), id );
 }}}

 The 2nd parameter in the std::find call should use .end, not .begin.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/2587>
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:59 UTC