mirror of
https://github.com/fmtlib/fmt.git
synced 2025-09-09 20:50:41 -04:00
Fix compilation error under MSVC 19.21 (#1140)
This commit is contained in:
parent
6828d549e8
commit
118d8bccc2
@ -227,7 +227,7 @@
|
|||||||
|
|
||||||
// An enable_if helper to be used in template parameters. enable_if in template
|
// 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.
|
// 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
|
#define FMT_ENABLE_IF(...) FMT_ENABLE_IF_T(__VA_ARGS__) = 0
|
||||||
|
|
||||||
FMT_BEGIN_NAMESPACE
|
FMT_BEGIN_NAMESPACE
|
||||||
|
Loading…
x
Reference in New Issue
Block a user