diff options
author | Victor Zverovich <viz@meta.com> | 2024-05-06 15:10:29 -0700 |
---|---|---|
committer | Victor Zverovich <viz@meta.com> | 2024-05-06 15:10:29 -0700 |
commit | 328d256c605d6f34e987629f1b33e52466c72f0f (patch) | |
tree | 6fdc146e4eb932966a7bea8db3ca7c0d427303d4 | |
parent | 57593a123be5a1fcb3e1fbcdd5e9e38779f8cede (diff) | |
download | fmtlib-328d256c605d6f34e987629f1b33e52466c72f0f.tar.gz |
Apply coding conventions
-rw-r--r-- | include/fmt/format.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/fmt/format.h b/include/fmt/format.h index 95df0ad0..6876967f 100644 --- a/include/fmt/format.h +++ b/include/fmt/format.h @@ -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); } |