Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r86583 - trunk/boost/algorithm/string
From: marshall_at_[hidden]
Date: 2013-11-07 16:31:06


Author: marshall
Date: 2013-11-07 16:31:06 EST (Thu, 07 Nov 2013)
New Revision: 86583
URL: http://svn.boost.org/trac/boost/changeset/86583

Log:
Fix an uninitialized member in a default-initialized split_iterator; Refs #9335

Text files modified:
   trunk/boost/algorithm/string/find_iterator.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/algorithm/string/find_iterator.hpp
==============================================================================
--- trunk/boost/algorithm/string/find_iterator.hpp Thu Nov 7 16:22:27 2013 (r86582)
+++ trunk/boost/algorithm/string/find_iterator.hpp 2013-11-07 16:31:06 EST (Thu, 07 Nov 2013) (r86583)
@@ -230,7 +230,7 @@
     
                 \post eof()==true
             */
- split_iterator() {}
+ split_iterator() { m_bEof = true; }
             //! Copy constructor
             /*!
                 Construct a copy of the split_iterator


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