Fixed warning in SpecializedAggregator.h [#CLICKHOUSE-2].

This commit is contained in:
Alexey Milovidov 2017-12-19 20:48:08 +03:00
parent 34d54ea349
commit 1029b2a5ef

View File

@ -58,7 +58,6 @@ struct AggregateFunctionsCreator
AggregateFunctionsCreator(
const Aggregator::AggregateFunctionsPlainPtrs & aggregate_functions_,
const Sizes & offsets_of_aggregate_states_,
Aggregator::AggregateColumns & aggregate_columns_,
AggregateDataPtr & aggregate_data_)
: aggregate_functions(aggregate_functions_),
offsets_of_aggregate_states(offsets_of_aggregate_states_),
@ -195,7 +194,7 @@ void NO_INLINE Aggregator::executeSpecializedCase(
AggregateDataPtr place = aggregates_pool->alloc(total_size_of_aggregate_states);
AggregateFunctionsList::forEach(AggregateFunctionsCreator(
aggregate_functions, offsets_of_aggregate_states, aggregate_columns, place));
aggregate_functions, offsets_of_aggregate_states, place));
aggregate_data = place;
}