From e4f4fc77884196163b45b528875bf65d1c9b922e Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Thu, 25 Aug 2022 17:28:22 -0700 Subject: [PATCH] Fix formatting of ranges of code unit types --- include/fmt/ranges.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/fmt/ranges.h b/include/fmt/ranges.h index 9e36c9a2fde79..1d96f3da773c0 100644 --- a/include/fmt/ranges.h +++ b/include/fmt/ranges.h @@ -270,8 +270,8 @@ template using uncvref_type = remove_cvref_t>; template -using uncvref_first_type = remove_cvref_t< - decltype(std::declval>().first)>; +using uncvref_first_type = + remove_cvref_t>().first)>; template using uncvref_second_type = remove_cvref_t< @@ -377,7 +377,7 @@ template struct is_range { static constexpr const bool value = detail::is_range_::value && !detail::is_std_string_like::value && !std::is_convertible>::value && - !std::is_constructible, T>::value; + !std::is_convertible, T>::value; }; namespace detail {