diff --git a/include/fmt/core.h b/include/fmt/core.h index dbbf42c8..14367551 100644 --- a/include/fmt/core.h +++ b/include/fmt/core.h @@ -1053,8 +1053,8 @@ FMT_CONSTEXPR FMT_INLINE void init_named_args(std::nullptr_t, int, int, const Args&...) {} template constexpr auto count() -> size_t { return B ? 1 : 0; } -template constexpr auto count() -> size_t { - return (B1 ? 1 : 0) + count(); +template constexpr auto count() -> size_t { + return (B1_ ? 1 : 0) + count(); } template constexpr auto count_named_args() -> size_t {