This is an automated email from the ASF dual-hosted git repository.

rok pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow.git


The following commit(s) were added to refs/heads/main by this push:
     new d9a0ab4b088 MINOR: [C++] Fix C++ Format (#55353)
d9a0ab4b088 is described below

commit d9a0ab4b088b9e41f584eec653dd4f95de4a9ca0
Author: tadeja <[email protected]>
AuthorDate: Sat Oct 31 21:36:34 2026 +0100

    MINOR: [C++] Fix C++ Format (#55353)
    
    ### Rationale for this change
    Lint C++ format fail on main
    
    ### What changes are included in this PR?
    Minor lint C++ format fix
    
    ### Are these changes tested?
    yes
    ### Are there any user-facing changes?
    no
    
    ### Was AI used for this PR?
    
    **PR code and description written by:**
    
    - [X] Human
    
    **Reviewed before submission by:**
    
    - [X] Human
    
    Authored-by: Tadeja Kadunc <[email protected]>
    Signed-off-by: Rok Mihevc <[email protected]>
---
 cpp/src/arrow/util/bit_util.h | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/cpp/src/arrow/util/bit_util.h b/cpp/src/arrow/util/bit_util.h
index 5fc10f2522b..9d5b715a000 100644
--- a/cpp/src/arrow/util/bit_util.h
+++ b/cpp/src/arrow/util/bit_util.h
@@ -168,9 +168,7 @@ constexpr bool HasSingleBit(T x) noexcept {
 }
 
 // Returns ceil(log2(x)).
-static inline int Log2(uint64_t x) {
-  return BitWidth(x - 1);
-}
+static inline int Log2(uint64_t x) { return BitWidth(x - 1); }
 
 //
 // Utilities for reading and writing individual bits by their index

Reply via email to