Merge pull request #38098 from ClickHouse/clang-tidy-warning-fix

Fix: build error
This commit is contained in:
Mikhail f. Shiryaev 2022-06-16 01:11:39 +02:00 committed by GitHub
commit 6fdba20b13
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -337,7 +337,7 @@ void ColumnVector<T>::updatePermutation(IColumn::PermutationSortDirection direct
PaddedPODArray<ValueWithIndex<T>> pairs(size);
size_t index = 0;
for (auto it = begin; it != end; ++it)
for (auto * it = begin; it != end; ++it)
{
pairs[index] = {data[*it], static_cast<UInt32>(*it)};
++index;