diff --git a/dbms/src/Common/ArenaWithFreeLists.h b/dbms/src/Common/ArenaWithFreeLists.h index 9ac4c2ca18f..0d269472ad6 100644 --- a/dbms/src/Common/ArenaWithFreeLists.h +++ b/dbms/src/Common/ArenaWithFreeLists.h @@ -64,7 +64,7 @@ class ArenaWithFreeLists : private Allocator if (auto & free_block_ptr = free_lists[list_idx]) { /// Let's take it. And change the head of the list to the next item in the list. - auto *const res = free_block_ptr->data; + auto * const res = free_block_ptr->data; free_block_ptr = free_block_ptr->next; return res; } @@ -83,7 +83,7 @@ class ArenaWithFreeLists : private Allocator /// Insert the released block into the head of the list. auto & free_block_ptr = free_lists[list_idx]; - auto *const old_head = free_block_ptr; + auto * const old_head = free_block_ptr; free_block_ptr = reinterpret_cast(ptr); free_block_ptr->next = old_head; }