diff --git a/src/AggregateFunctions/AggregateFunctionDeltaSumTimestamp.cpp b/src/AggregateFunctions/AggregateFunctionDeltaSumTimestamp.cpp index 79f0f2b328e..9eb005706c0 100644 --- a/src/AggregateFunctions/AggregateFunctionDeltaSumTimestamp.cpp +++ b/src/AggregateFunctions/AggregateFunctionDeltaSumTimestamp.cpp @@ -186,7 +186,7 @@ public: template class AggregateFunctionTemplate, typename... TArgs> -static IAggregateFunction * createWithTwoTypesSecond(const IDataType & second_type, TArgs && ... args) +IAggregateFunction * createWithTwoTypesSecond(const IDataType & second_type, TArgs && ... args) { WhichDataType which(second_type); @@ -203,7 +203,7 @@ static IAggregateFunction * createWithTwoTypesSecond(const IDataType & second_ty } template