From bf8636c9596fbfddded3d0f5879abc7579c9f4dd Mon Sep 17 00:00:00 2001 From: vitaut Date: Wed, 18 Mar 2015 11:08:34 -0700 Subject: [PATCH] Fix compile error on clang when formatting a C++11-style enum Thanks to @Naios. --- format.h | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/format.h b/format.h index 89c2ef70fab3..0a67f3f977d3 100644 --- a/format.h +++ b/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: