Change common variable name B1 to B1_
This commit is contained in:
parent
0544a2279b
commit
d8a9effc47
@ -1053,8 +1053,8 @@ FMT_CONSTEXPR FMT_INLINE void init_named_args(std::nullptr_t, int, int,
|
|||||||
const Args&...) {}
|
const Args&...) {}
|
||||||
|
|
||||||
template <bool B = false> constexpr auto count() -> size_t { return B ? 1 : 0; }
|
template <bool B = false> constexpr auto count() -> size_t { return B ? 1 : 0; }
|
||||||
template <bool B1, bool B2, bool... Tail> constexpr auto count() -> size_t {
|
template <bool B1_, bool B2_, bool... Tail> constexpr auto count() -> size_t {
|
||||||
return (B1 ? 1 : 0) + count<B2, Tail...>();
|
return (B1_ ? 1 : 0) + count<B2_, Tail...>();
|
||||||
}
|
}
|
||||||
|
|
||||||
template <typename... Args> constexpr auto count_named_args() -> size_t {
|
template <typename... Args> constexpr auto count_named_args() -> size_t {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user