mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-10-04 15:40:49 +00:00
Fix error
This commit is contained in:
parent
48e48a1e09
commit
869f13b21f
@ -252,8 +252,7 @@ private:
|
|||||||
/// There are loops of NUM_PASSES. It is very important that they are unfolded at compile-time.
|
/// There are loops of NUM_PASSES. It is very important that they are unfolded at compile-time.
|
||||||
|
|
||||||
/// For each of the NUM_PASSES bit ranges of the key, consider how many times each value of this bit range met.
|
/// For each of the NUM_PASSES bit ranges of the key, consider how many times each value of this bit range met.
|
||||||
std::unique_ptr<CountType[HISTOGRAM_SIZE * NUM_PASSES]> histograms_holder = std::unique_ptr<CountType[HISTOGRAM_SIZE * NUM_PASSES]>();
|
std::unique_ptr<CountType[]> histograms{new CountType[HISTOGRAM_SIZE * NUM_PASSES]{}};
|
||||||
CountType * histograms = *histograms_holder;
|
|
||||||
|
|
||||||
typename Traits::Allocator allocator;
|
typename Traits::Allocator allocator;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user