Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r50323 - trunk/boost/test/impl
From: gennadiy.rozental_at_[hidden]
Date: 2008-12-19 03:04:38


Author: rogeeff
Date: 2008-12-19 03:04:38 EST (Fri, 19 Dec 2008)
New Revision: 50323
URL: http://svn.boost.org/trac/boost/changeset/50323

Log:
bug in test_suite::remove Fixed. Fix #2587
Text files modified:
   trunk/boost/test/impl/unit_test_suite.ipp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/test/impl/unit_test_suite.ipp
==============================================================================
--- trunk/boost/test/impl/unit_test_suite.ipp (original)
+++ trunk/boost/test/impl/unit_test_suite.ipp 2008-12-19 03:04:38 EST (Fri, 19 Dec 2008)
@@ -161,7 +161,7 @@
 void
 test_suite::remove( test_unit_id id )
 {
- std::vector<test_unit_id>::iterator it = std::find( m_members.begin(), m_members.begin(), id );
+ std::vector<test_unit_id>::iterator it = std::find( m_members.begin(), m_members.end(), id );
 
     if( it != m_members.end() )
         m_members.erase( it );


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