diff --git a/dbms/src/DataTypes/DataTypeFactory.cpp b/dbms/src/DataTypes/DataTypeFactory.cpp index 74e28cf9014..5a067a6871e 100644 --- a/dbms/src/DataTypes/DataTypeFactory.cpp +++ b/dbms/src/DataTypes/DataTypeFactory.cpp @@ -139,7 +139,7 @@ void DataTypeFactory::registerSimpleDataType(const String & name, SimpleCreator std::vector DataTypeFactory::getAllDataTypeNames() const { std::vector 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;