From 01640f44cfcfc2ace6c13cc0fde883dc14fe339a Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Sat, 24 Nov 2018 06:22:59 -0800 Subject: [PATCH] Fully qualify dummy_int (#941) --- include/fmt/format.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/fmt/format.h b/include/fmt/format.h index f045b0c9..b1a71f9f 100644 --- a/include/fmt/format.h +++ b/include/fmt/format.h @@ -309,7 +309,7 @@ class numeric_limits : 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(x)); }