aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorstanly <stanly@yandex-team.com>2023-06-05 17:41:50 +0300
committerstanly <stanly@yandex-team.com>2023-06-05 17:41:50 +0300
commit2d8c5f7917aed01e7dc3461e0f011d57e6b531d3 (patch)
tree7a9a105227ffe34920d2393b22ea9d7c0cc39024
parent9f1fc93ef9ffd5d279175e263cd2a67845db6ad4 (diff)
downloadydb-2d8c5f7917aed01e7dc3461e0f011d57e6b531d3.tar.gz
remove const ref to allow move
-rw-r--r--ydb/core/tx/columnshard/engines/column_engine_logs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ydb/core/tx/columnshard/engines/column_engine_logs.cpp b/ydb/core/tx/columnshard/engines/column_engine_logs.cpp
index 703bba8f2f..076100fe53 100644
--- a/ydb/core/tx/columnshard/engines/column_engine_logs.cpp
+++ b/ydb/core/tx/columnshard/engines/column_engine_logs.cpp
@@ -99,7 +99,7 @@ TConclusionStatus InitInGranuleMerge(const TMark& granuleMark, std::vector<TPort
std::vector<TPortionInfo> tmp;
tmp.reserve(portions.size());
- for (const auto& portionInfo : portions) {
+ for (auto& portionInfo : portions) {
ui64 curPortion = portionInfo.Portion();
// Prevent merge of compacted portions with no intersections