summaryrefslogtreecommitdiffstats
path: root/library/cpp
diff options
context:
space:
mode:
authorrobot-piglet <[email protected]>2025-09-20 02:39:53 +0300
committerrobot-piglet <[email protected]>2025-09-20 02:49:23 +0300
commit05cbb1dbd0717bb7d614d2678f96fa0beb906193 (patch)
treef4c0ac06c6a95560b158b57bf53611b481f76c82 /library/cpp
parent90fb082e11b758e719de94cf6681f35f08de6a20 (diff)
Intermediate changes
commit_hash:d141fc27f80ee0774cb302a41a65bc1109062c59
Diffstat (limited to 'library/cpp')
-rw-r--r--library/cpp/lfalloc/lf_allocX64.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/cpp/lfalloc/lf_allocX64.h b/library/cpp/lfalloc/lf_allocX64.h
index ae753925c36..95613b48832 100644
--- a/library/cpp/lfalloc/lf_allocX64.h
+++ b/library/cpp/lfalloc/lf_allocX64.h
@@ -964,7 +964,7 @@ static Y_FORCE_INLINE int TakeBlocksFromGlobalFreeList(int nSizeIdx, char** buf)
TFreeListGroup* g = (TFreeListGroup*)fl.Alloc();
if (g) {
int resCount = 0;
- for (auto& ptr : g->Ptrs) {
+ for (auto ptr : g->Ptrs) {
if (ptr)
buf[resCount++] = ptr;
else
@@ -1745,7 +1745,7 @@ static void DumpMemoryBlockUtilizationLocked() {
int nEntriesTotal = N_CHUNK_SIZE / nSize;
memset(entries, 0, nEntriesTotal);
for (TFreeListGroup* g = wholeLists[nSizeIdx]; g; g = g->Next) {
- for (auto& ptr : g->Ptrs)
+ for (auto ptr : g->Ptrs)
cs.CheckBlock(ptr);
}
TChunkStats csGB(k, nSize, entries);