Revert to old behavior for find_iterator; will not find overlapping matches. Fixes #9063

[SVN r86206]
This commit is contained in:
Marshall Clow
2013-10-08 17:59:44 +00:00
parent 4b9a073780
commit b44dff3a5b
2 changed files with 16 additions and 19 deletions

View File

@ -132,12 +132,7 @@ namespace boost {
// increment
void increment()
{
if(m_Match.begin() == m_Match.end())
m_Match=this->do_find(m_Match.end(),m_End);
else {
input_iterator_type last = m_Match.begin();
m_Match=this->do_find(++last,m_End);
}
m_Match=this->do_find(m_Match.end(),m_End);
}
// comparison