song/StringFilter: use std::string::operator==

This commit is contained in:
Max Kellermann 2018-11-04 13:49:38 +01:00
parent 08e41e60e5
commit b34bc06624
1 changed files with 1 additions and 1 deletions

View File

@ -34,6 +34,6 @@ StringFilter::Match(const char *s) const noexcept
if (fold_case) {
return fold_case.IsIn(s);
} else {
return StringIsEqual(s, value.c_str());
return value == s;
}
}