mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-24 12:14:26 +00:00
Fully qualify dummy_int (#941)
This commit is contained in:
parent
e37d6a9840
commit
01640f44cf
@ -309,7 +309,7 @@ class numeric_limits<fmt::internal::dummy_int> :
|
||||
using namespace fmt::internal;
|
||||
// The resolution "priority" is:
|
||||
// isinf macro > std::isinf > ::isinf > fmt::internal::isinf
|
||||
if (const_check(sizeof(isinf(x)) != sizeof(dummy_int)))
|
||||
if (const_check(sizeof(isinf(x)) != sizeof(fmt::internal::dummy_int)))
|
||||
return isinf(x) != 0;
|
||||
return !_finite(static_cast<double>(x));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user