mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 15:42:02 +00:00
Fix build.
This commit is contained in:
parent
56a9c3920f
commit
d359ff3d4a
@ -70,7 +70,12 @@ protected:
|
||||
|
||||
FunctionBasePtr buildImpl(const ColumnsWithTypeAndName & arguments, const DataTypePtr & return_type) const override
|
||||
{
|
||||
return std::make_shared<BaseFunctionToTypeName>(arguments, return_type);
|
||||
DataTypes types;
|
||||
types.reserve(arguments.size());
|
||||
for (auto & elem : arguments)
|
||||
types.emplace_back(elem.type);
|
||||
|
||||
return std::make_shared<BaseFunctionToTypeName>(types, return_type);
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user