mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-21 01:00:48 +00:00
Update ColumnAggregateFunction.cpp
fix warning
This commit is contained in:
parent
b57c353289
commit
bf90fcc98e
@ -613,7 +613,7 @@ MutableColumnPtr ColumnAggregateFunction::cloneResized(size_t size) const
|
||||
{
|
||||
//create a new col to return
|
||||
auto cloneCol = cloneEmpty();
|
||||
auto res = typeid_cast<ColumnAggregateFunction *>(cloneCol.get());
|
||||
auto* res = typeid_cast<ColumnAggregateFunction *>(cloneCol.get());
|
||||
if (size == 0)
|
||||
return cloneCol;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user