forked from fmtlib/fmt
Don't match bool because it causes undesirable conversions
This commit is contained in:
1
format.h
1
format.h
@ -774,7 +774,6 @@ class IsConvertibleToInt {
|
|||||||
|
|
||||||
static const T &get();
|
static const T &get();
|
||||||
|
|
||||||
static yes &check(bool);
|
|
||||||
static yes &check(char);
|
static yes &check(char);
|
||||||
static yes &check(signed char);
|
static yes &check(signed char);
|
||||||
static yes &check(unsigned char);
|
static yes &check(unsigned char);
|
||||||
|
Reference in New Issue
Block a user