Commit b34bc066 authored by Max Kellermann's avatar Max Kellermann

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

parent 08e41e60
...@@ -34,6 +34,6 @@ StringFilter::Match(const char *s) const noexcept ...@@ -34,6 +34,6 @@ StringFilter::Match(const char *s) const noexcept
if (fold_case) { if (fold_case) {
return fold_case.IsIn(s); return fold_case.IsIn(s);
} else { } else {
return StringIsEqual(s, value.c_str()); return value == s;
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment