mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-13 06:30:06 +00:00
Don't match bool because it causes undesirable conversions
This commit is contained in:
parent
275d1ab423
commit
33ec5b16d8
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);
|
||||||
|
Loading…
Reference in New Issue
Block a user