From e0612560ec74199a707e540ed3d74f6774594f6a Mon Sep 17 00:00:00 2001 From: gitccl Date: Mon, 8 May 2023 16:53:32 +0800 Subject: [PATCH] fix clang format --- be/src/vec/exec/scan/scanner_context.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/be/src/vec/exec/scan/scanner_context.cpp b/be/src/vec/exec/scan/scanner_context.cpp index eceef2acbee8e2e..5c48fd16588de36 100644 --- a/be/src/vec/exec/scan/scanner_context.cpp +++ b/be/src/vec/exec/scan/scanner_context.cpp @@ -124,7 +124,7 @@ vectorized::BlockUPtr ScannerContext::get_free_block(bool* has_free_block, *has_free_block = _free_blocks_capacity > 0; // Always reduce _free_blocks_capacity by one since we always return a block if (_free_blocks_capacity > 0) { - -- _free_blocks_capacity; + --_free_blocks_capacity; } if (!_free_blocks.empty()) { @@ -147,7 +147,7 @@ void ScannerContext::return_free_block(std::unique_ptr block) _free_blocks_memory_usage->add(block->allocated_bytes()); std::lock_guard l(_free_blocks_lock); _free_blocks.emplace_back(std::move(block)); - ++ _free_blocks_capacity; + ++_free_blocks_capacity; } void ScannerContext::append_blocks_to_queue(std::vector& blocks) {