mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-26 00:21:13 +00:00
Fix compile error on clang when formatting a C++11-style enum
Thanks to @Naios.
This commit is contained in:
parent
2adbfa4af7
commit
bf8636c959
13
format.h
13
format.h
@ -774,20 +774,7 @@ class IsConvertibleToInt {
|
||||
|
||||
static const T &get();
|
||||
|
||||
static yes &check(char);
|
||||
static yes &check(signed char);
|
||||
static yes &check(unsigned char);
|
||||
static yes &check(short);
|
||||
static yes &check(unsigned short);
|
||||
static yes &check(int);
|
||||
static yes &check(unsigned int);
|
||||
static yes &check(long);
|
||||
static yes &check(unsigned long);
|
||||
static yes &check(fmt::LongLong);
|
||||
static yes &check(fmt::ULongLong);
|
||||
static yes &check(float);
|
||||
static yes &check(double);
|
||||
static yes &check(long double);
|
||||
static no &check(...);
|
||||
|
||||
public:
|
||||
|
Loading…
Reference in New Issue
Block a user