mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
Fixed build of "widechar_width" library on ARM [#CLICKHOUSE-2]
This commit is contained in:
parent
078a192388
commit
f59bf174d7
@ -495,7 +495,7 @@ static const struct widechar_range widechar_widened_table[] = {
|
||||
template<typename Collection>
|
||||
bool widechar_in_table(const Collection &arr, int32_t c) {
|
||||
auto where = std::lower_bound(std::begin(arr), std::end(arr), c,
|
||||
[](widechar_range p, wchar_t c) { return p.hi < c; });
|
||||
[](widechar_range p, int32_t c) { return p.hi < c; });
|
||||
return where != std::end(arr) && where->lo <= c;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user