diff --git a/include/fmt/core.h b/include/fmt/core.h index 54686e2d..0d1b5523 100644 --- a/include/fmt/core.h +++ b/include/fmt/core.h @@ -227,7 +227,7 @@ // An enable_if helper to be used in template parameters. enable_if in template // parameters results in much shorter symbols: https://godbolt.org/z/sWw4vP. -#define FMT_ENABLE_IF_T(...) typename std::enable_if<__VA_ARGS__, int>::type +#define FMT_ENABLE_IF_T(...) typename std::enable_if<(__VA_ARGS__), int>::type #define FMT_ENABLE_IF(...) FMT_ENABLE_IF_T(__VA_ARGS__) = 0 FMT_BEGIN_NAMESPACE