Skip to content

Commit 5be885a

Browse files
committed
fix style
1 parent 78d7a3b commit 5be885a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ydb/core/tablet_flat/flat_part_charge_btree_index.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class TChargeBTreeIndex : public ICharge {
3333
Y_UNUSED(itemsLimit);
3434
Y_UNUSED(bytesLimit);
3535

36-
auto& meta = Part->IndexPages.BTreeGroups[0];
36+
const auto& meta = Part->IndexPages.BTreeGroups[0];
3737

3838
if (Y_UNLIKELY(row1 >= meta.RowsCount)) {
3939
return { true, true }; // already out of bounds, nothing to precharge
@@ -101,7 +101,7 @@ class TChargeBTreeIndex : public ICharge {
101101
Y_UNUSED(itemsLimit);
102102
Y_UNUSED(bytesLimit);
103103

104-
auto& meta = Part->IndexPages.BTreeGroups[0];
104+
const auto& meta = Part->IndexPages.BTreeGroups[0];
105105

106106
if (Y_UNLIKELY(row1 >= meta.RowsCount)) {
107107
row1 = meta.RowsCount - 1; // start from the last row

0 commit comments

Comments
 (0)