diff --git a/include/fmt/core.h b/include/fmt/core.h index 58c716d8..b38be036 100644 --- a/include/fmt/core.h +++ b/include/fmt/core.h @@ -206,7 +206,7 @@ using enable_if_t = typename std::enable_if::type; // An enable_if helper to be used in template parameters which results in much // shorter symbols: https://godbolt.org/z/sWw4vP. -#define FMT_ENABLE_IF(...) enable_if_t<__VA_ARGS__, int> = 0 +#define FMT_ENABLE_IF(...) enable_if_t<(__VA_ARGS__), int> = 0 namespace internal {