fix clang-tidy

This commit is contained in:
Anton Popov 2023-03-20 14:33:27 +00:00
parent 3ee3666db7
commit 52a394168e

View File

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