fixed comparison of invalid iterators

This commit is contained in:
Arvid Norberg 2006-08-11 06:05:16 +00:00
parent 8227b160ea
commit 3574458b44
1 changed files with 2 additions and 2 deletions

View File

@ -117,8 +117,8 @@ namespace aux
bool equal(routing_table_iterator const& other) const
{
return m_bucket_iterator == other.m_bucket_iterator
&& (m_iterator == other.m_iterator
|| m_bucket_iterator == m_bucket_end);
&& (m_bucket_iterator == m_bucket_end
|| m_iterator == other.m_iterator);
}
void increment()