mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 09:32:06 +00:00
Fix clang-tidy
This commit is contained in:
parent
475a893be3
commit
e0eb88f9bc
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user