提交 177f2801 编写于 作者: A alexey-milovidov

Update DataTypeFactory.cpp

上级 8d9650f1
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册