forked from fmtlib/fmt
Use `long double
instead of
int
` to avoid warnings
This commit is contained in:
4
format.h
4
format.h
@ -773,7 +773,9 @@ class IsConvertibleToInt {
|
|||||||
typedef char no[2];
|
typedef char no[2];
|
||||||
|
|
||||||
static const T &get();
|
static const T &get();
|
||||||
static yes &check(fmt::ULongLong);
|
|
||||||
|
// Use ``long double`` instead of ``int`` to avoid warnings.
|
||||||
|
static yes &check(long double);
|
||||||
static no &check(...);
|
static no &check(...);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
Reference in New Issue
Block a user