Simplyfied entry comparison in operator ==().
This commit is contained in:
parent
571ce5b2d0
commit
4aec2fafb3
|
@ -65,12 +65,7 @@ namespace remwharead
|
||||||
|
|
||||||
bool operator ==(const Database::entry &a, const Database::entry &b)
|
bool operator ==(const Database::entry &a, const Database::entry &b)
|
||||||
{
|
{
|
||||||
if (a.datetime == b.datetime)
|
return (a.datetime == b.datetime);
|
||||||
{
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
const string Database::entry::fulltext_oneline() const
|
const string Database::entry::fulltext_oneline() const
|
||||||
|
|
Loading…
Reference in New Issue