Commit 118d8bcc authored by mocabe's avatar mocabe Committed by Victor Zverovich

Fix compilation error under MSVC 19.21 (#1140)

parent 6828d549
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment