From 4687f8e37e8f6ebf2112445750ec21d85164abd6 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Wed, 3 Jan 2024 06:22:57 -0800 Subject: [PATCH] Remove dependency on --- include/fmt/core.h | 4 +--- include/fmt/format.h | 1 + 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/include/fmt/core.h b/include/fmt/core.h index 2d71424e..750f2712 100644 --- a/include/fmt/core.h +++ b/include/fmt/core.h @@ -11,7 +11,6 @@ #include // std::byte #include // std::FILE #include // std::strlen -#include // DEPRECATED! #include // std::numeric_limits #include #include @@ -1578,8 +1577,7 @@ template <> struct is_output_iterator : std::true_type {}; template struct is_output_iterator< It, T, - void_t::iterator_category, - decltype(*std::declval() = std::declval())>> + void_t()++ = std::declval())>> : std::true_type {}; template struct is_back_insert_iterator : std::false_type {}; diff --git a/include/fmt/format.h b/include/fmt/format.h index 4972a02b..9a5d3f90 100644 --- a/include/fmt/format.h +++ b/include/fmt/format.h @@ -37,6 +37,7 @@ #include // uint32_t #include // std::memcpy #include // std::initializer_list +#include #include // std::numeric_limits #include // std::uninitialized_copy #include // std::runtime_error