Commit f71e20d0 authored by Max Kellermann's avatar Max Kellermann

util/StringView: use value_type

parent 988680de
...@@ -60,7 +60,7 @@ struct StringView : ConstBuffer<char> { ...@@ -60,7 +60,7 @@ struct StringView : ConstBuffer<char> {
} }
gcc_pure gcc_pure
pointer_type Find(char ch) const noexcept { pointer_type Find(value_type ch) const noexcept {
return (pointer_type)memchr(data, ch, size); return (pointer_type)memchr(data, ch, size);
} }
......
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