[Chore](compile) remove some unused static on inline function to reduce compile time (#17603)

remove some unused static on inline function to reduce compile time
This commit is contained in:
Pxl
2023-03-13 11:11:59 +08:00
committed by GitHub
parent 782001c75b
commit 16fc3a0e22
75 changed files with 363 additions and 386 deletions

View File

@ -26,10 +26,10 @@ namespace doris::vectorized {
template <template <typename, bool> class AggregateFunctionTemplate,
template <typename> class NameData, template <typename, typename> class Data,
bool is_stddev, bool is_nullable = false>
static IAggregateFunction* create_function_single_value(const String& name,
const DataTypes& argument_types,
const bool result_is_nullable,
bool custom_nullable) {
IAggregateFunction* create_function_single_value(const String& name,
const DataTypes& argument_types,
const bool result_is_nullable,
bool custom_nullable) {
IAggregateFunction* res = nullptr;
WhichDataType which(remove_nullable(argument_types[0]));
#define DISPATCH(TYPE) \