util/StringView: use value_type
This commit is contained in:
parent
988680de33
commit
f71e20d0ce
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user