Merge bug fix and test to release; Fixes #7784

[SVN r82238]
This commit is contained in:
Marshall Clow
2012-12-28 17:39:08 +00:00
parent 1660dc9d48
commit 60010b4165
2 changed files with 19 additions and 1 deletions

View File

@ -132,7 +132,10 @@ namespace boost {
// increment
void increment()
{
m_Match=this->do_find(m_Match.end(),m_End);
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);
}
// comparison