Simplyfied entry comparison in operator ==().

This commit is contained in:
tastytea 2019-07-29 12:50:53 +02:00
parent 571ce5b2d0
commit 4aec2fafb3
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 1 additions and 6 deletions

View File

@ -65,12 +65,7 @@ namespace remwharead
bool operator ==(const Database::entry &a, const Database::entry &b)
{
if (a.datetime == b.datetime)
{
return true;
}
return false;
return (a.datetime == b.datetime);
}
const string Database::entry::fulltext_oneline() const