Update ColumnAggregateFunction.cpp

fix warning
This commit is contained in:
templarzq 2021-01-11 10:40:03 +08:00 committed by GitHub
parent b57c353289
commit bf90fcc98e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;