Update DataTypeFactory.cpp

This commit is contained in:
alexey-milovidov 2018-07-24 00:20:56 +03:00
parent 8d9650f141
commit 177f2801fd

View File

@ -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;