Make find_iterator work with forward iterators; refs #7989

[SVN r82788]
This commit is contained in:
Marshall Clow
2013-02-08 17:32:05 +00:00
parent efd5d23bb9
commit 6d22c99f2e
2 changed files with 4 additions and 4 deletions

View File

@ -134,8 +134,10 @@ namespace boost {
{
if(m_Match.begin() == m_Match.end())
m_Match=this->do_find(m_Match.end(),m_End);
else
m_Match=this->do_find(m_Match.begin()+1,m_End);
else {
input_iterator_type last = m_Match.begin();
m_Match=this->do_find(++last,m_End);
}
}
// comparison