From 9cedc02755c631abf5400cea507704dc2929e805 Mon Sep 17 00:00:00 2001 From: Connor1996 Date: Mon, 29 Jan 2024 20:47:27 +0800 Subject: [PATCH] make format Signed-off-by: Connor1996 --- cache/lru_cache.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cache/lru_cache.cc b/cache/lru_cache.cc index 4aef6eed56db..679ad0088138 100644 --- a/cache/lru_cache.cc +++ b/cache/lru_cache.cc @@ -88,8 +88,9 @@ void LRUHandleTable::Resize() { uint32_t old_length = uint32_t{1} << length_bits_; int new_length_bits = length_bits_ + 1; - std::unique_ptr new_list{ - new LRUHandle* [size_t{1} << new_length_bits] {}}; + std::unique_ptr new_list { + new LRUHandle* [size_t{1} << new_length_bits] {} + }; [[maybe_unused]] uint32_t count = 0; for (uint32_t i = 0; i < old_length; i++) { LRUHandle* h = list_[i];