This commit is contained in:
Alexey Milovidov 2024-11-12 15:20:27 +01:00
parent ec27bd2e51
commit 4bb39a8c08

View File

@ -186,7 +186,7 @@ public:
template <typename FirstType, template <typename, typename> class AggregateFunctionTemplate, typename... TArgs> template <typename FirstType, template <typename, typename> 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); WhichDataType which(second_type);
@ -203,7 +203,7 @@ static IAggregateFunction * createWithTwoTypesSecond(const IDataType & second_ty
} }
template <template <typename, typename> class AggregateFunctionTemplate, typename... TArgs> template <template <typename, typename> class AggregateFunctionTemplate, typename... TArgs>
static IAggregateFunction * createWithTwoTypes(const IDataType & first_type, const IDataType & second_type, TArgs && ... args) IAggregateFunction * createWithTwoTypes(const IDataType & first_type, const IDataType & second_type, TArgs && ... args)
{ {
WhichDataType which(first_type); WhichDataType which(first_type);