mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 08:02:02 +00:00
Update DataTypeFactory.cpp
This commit is contained in:
parent
8d9650f141
commit
177f2801fd
@ -139,7 +139,7 @@ void DataTypeFactory::registerSimpleDataType(const String & name, SimpleCreator
|
||||
std::vector<String> DataTypeFactory::getAllDataTypeNames() const
|
||||
{
|
||||
std::vector<String> result;
|
||||
auto getter = [] (const auto& pair) { return pair.first; };
|
||||
auto getter = [] (const auto & pair) { return pair.first; };
|
||||
std::transform(data_types.begin(), data_types.end(), std::back_inserter(result), getter);
|
||||
std::transform(aliases.begin(), aliases.end(), std::back_inserter(result), getter);
|
||||
return result;
|
||||
|
Loading…
Reference in New Issue
Block a user