mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 00:22:29 +00:00
Merge pull request #3709 from yandex/widechar_width_arm_build
Fixed build of "widechar_width" library on ARM [#CLICKHOUSE-2]
This commit is contained in:
commit
560b513f18
@ -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