diff --git a/src/Storages/MergeTree/PartMovesBetweenShardsOrchestrator.cpp b/src/Storages/MergeTree/PartMovesBetweenShardsOrchestrator.cpp index 6322446f248..12160b0e578 100644 --- a/src/Storages/MergeTree/PartMovesBetweenShardsOrchestrator.cpp +++ b/src/Storages/MergeTree/PartMovesBetweenShardsOrchestrator.cpp @@ -366,9 +366,9 @@ std::vector PartMovesBetweenShardsOrc { std::lock_guard lock(state_mutex); - auto res = std::vector(); + std::vector res; - for (const auto& e : entries) + for (const auto & e : entries) res.push_back(e.second); return res;