util/StringView: use value_type

This commit is contained in:
Max Kellermann 2017-09-12 16:57:38 +02:00
parent 988680de33
commit f71e20d0ce

View File

@ -60,7 +60,7 @@ struct StringView : ConstBuffer<char> {
}
gcc_pure
pointer_type Find(char ch) const noexcept {
pointer_type Find(value_type ch) const noexcept {
return (pointer_type)memchr(data, ch, size);
}