Skip to content

Commit

Permalink
Apply coding conventions
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaut committed May 6, 2024
1 parent 57593a1 commit 328d256
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions include/fmt/format.h
Original file line number Diff line number Diff line change
Expand Up @@ -1186,9 +1186,7 @@ inline auto do_count_digits(uint64_t n) -> int {
// except for n == 0 in which case count_digits returns 1.
FMT_CONSTEXPR20 inline auto count_digits(uint64_t n) -> int {
#ifdef FMT_BUILTIN_CLZLL
if (!is_constant_evaluated()) {
return do_count_digits(n);
}
if (!is_constant_evaluated()) return do_count_digits(n);
#endif
return count_digits_fallback(n);
}
Expand Down

0 comments on commit 328d256

Please sign in to comment.