Skip to content

Commit d9a0ab4

Browse files
authored
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 <tadeja.kadunc@gmail.com> Signed-off-by: Rok Mihevc <rok@mihevc.org>
1 parent b4a98b7 commit d9a0ab4

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

‎cpp/src/arrow/util/bit_util.h‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -168,9 +168,7 @@ constexpr bool HasSingleBit(T x) noexcept {
168168
}
169169

170170
// Returns ceil(log2(x)).
171-
static inline int Log2(uint64_t x) {
172-
return BitWidth(x - 1);
173-
}
171+
static inline int Log2(uint64_t x) { return BitWidth(x - 1); }
174172

175173
//
176174
// Utilities for reading and writing individual bits by their index

0 commit comments

Comments
 (0)