mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-02 14:30:10 +00:00
Use `long double
instead of
int
` to avoid warnings
This commit is contained in:
parent
d99c49b970
commit
3d4af9cd65
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:
|
||||||
|
Loading…
Reference in New Issue
Block a user