search engine: stream songs from the database when using regexes

This commit is contained in:
Andrzej Rybczak
2015-04-12 20:16:45 +02:00
parent 6c307cceb0
commit 4a372c0fbb
2 changed files with 71 additions and 72 deletions

View File

@@ -440,11 +440,11 @@ struct Iterator: std::iterator<std::input_iterator_tag, ObjectT>
return it;
}
bool operator==(const Iterator &rhs)
bool operator==(const Iterator &rhs) const
{
return m_state == rhs.m_state;
}
bool operator!=(const Iterator &rhs)
bool operator!=(const Iterator &rhs) const
{
return !(*this == rhs);
}