From 5328907f7f9952a443b9d716f44873d14fc16047 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Wed, 6 Dec 2017 09:18:17 -0800 Subject: [PATCH] Get rid of dependency --- include/fmt/core.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/include/fmt/core.h b/include/fmt/core.h index 6aa45877..5aef6c14 100644 --- a/include/fmt/core.h +++ b/include/fmt/core.h @@ -31,7 +31,6 @@ #include #include #include -#include #include #include #include @@ -274,9 +273,8 @@ struct convert_to_int_impl2 { template struct convert_to_int_impl2 { enum { - // Don't convert numeric types. - value = convert_to_int_impl< - T, !std::numeric_limits::is_specialized>::value + // Don't convert arithmetic types. + value = convert_to_int_impl::value>::value }; };