Skip to content

Commit

Permalink
Fix compile error on clang when formatting a C++11-style enum
Browse files Browse the repository at this point in the history
Thanks to @Naios.
  • Loading branch information
vitaut committed Mar 18, 2015
1 parent 2adbfa4 commit bf8636c
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions format.h
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit bf8636c

Please sign in to comment.