mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 01:51:59 +00:00
fix clang-tidy
This commit is contained in:
parent
3ee3666db7
commit
52a394168e
@ -1585,8 +1585,8 @@ void QueryAnalyzer::collectCompoundExpressionValidIdentifiersForTypoCorrection(
|
||||
if (new_identifier_size == unresolved_identifier.getPartsSize())
|
||||
{
|
||||
auto new_identifier = valid_identifier_prefix;
|
||||
for (auto && part : subcolumn_indentifier)
|
||||
new_identifier.emplace_back(std::move(part));
|
||||
for (const auto & part : subcolumn_indentifier)
|
||||
new_identifier.push_back(part);
|
||||
|
||||
valid_identifiers_result.insert(std::move(new_identifier));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user