mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
Better code
This commit is contained in:
parent
62c94a7841
commit
08e6e598f7
@ -11,7 +11,7 @@
|
||||
namespace DB
|
||||
{
|
||||
template <typename T>
|
||||
concept has_find_extreme_implementation = (is_any_of<T, Int8, Int16, Int32, Int64, UInt8, UInt16, UInt32, UInt64, BFloat16, Float32, Float64>);
|
||||
concept has_find_extreme_implementation = (is_any_of<T, Int8, Int16, Int32, Int64, UInt8, UInt16, UInt32, UInt64, Float32, Float64>);
|
||||
|
||||
template <has_find_extreme_implementation T>
|
||||
std::optional<T> findExtremeMin(const T * __restrict ptr, size_t start, size_t end);
|
||||
|
@ -606,7 +606,6 @@ template <typename T> inline constexpr bool IsDataTypeEnum<DataTypeEnum<T>> = tr
|
||||
M(Int16) \
|
||||
M(Int32) \
|
||||
M(Int64) \
|
||||
M(BFloat16) \
|
||||
M(Float32) \
|
||||
M(Float64)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user