mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-18 13:42:02 +00:00
Fix warning
This commit is contained in:
parent
f29c0af9aa
commit
eb534ebee3
@ -357,6 +357,12 @@ public:
|
||||
return;
|
||||
}
|
||||
|
||||
/// The warning about array bounds is irrelevant if the function not allocatesMemoryInArena.
|
||||
#if !__clang__
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Warray-bounds"
|
||||
#endif
|
||||
|
||||
/// Will use UNROLL_COUNT number of lookup tables.
|
||||
|
||||
static constexpr size_t UNROLL_COUNT = 8;
|
||||
@ -411,6 +417,10 @@ public:
|
||||
|
||||
func.add(place + place_offset, columns, i, nullptr);
|
||||
}
|
||||
|
||||
#if !__clang__
|
||||
#pragma GCC diagnostic pop
|
||||
#endif
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user