Fix clang-tidy

This commit is contained in:
kssenii 2023-04-22 17:02:17 +02:00
parent 475a893be3
commit e0eb88f9bc

View File

@ -157,7 +157,7 @@ void MergeTreePrefetchedReadPool::startPrefetches() const
assert(prefetch_queue.top().task->priority == highest_priority);
while (!prefetch_queue.empty())
{
auto top = std::move(prefetch_queue.top());
const auto & top = prefetch_queue.top();
createPrefetchedReaderForTask(*top.task);
#ifndef NDEBUG
if (prev.task)