bugfix from Stefan Slapeta <stefan_nospam_@slapeta.com>

[SVN r23887]
This commit is contained in:
Dave Abrahams
2004-07-21 11:18:16 +00:00
parent f16de45e46
commit bfa0f28830

View File

@ -136,14 +136,10 @@ namespace boost {
// comparison
bool equal( const find_iterator& Other ) const
{
return
return eof() || Other.eof() ? eof() == Other.eof() :
(
m_Match==Other.m_Match &&
m_End==Other.m_End
)
||
(
eof() && Other.eof()
);
}
@ -301,15 +297,11 @@ namespace boost {
// comparison
bool equal( const split_iterator& Other ) const
{
return
return eof() || Other.eof() ? eof() == Other.eof() :
(
m_Match==Other.m_Match &&
m_Next==Other.m_Next &&
m_End==Other.m_End
)
||
(
eof() && Other.eof()
);
}