Skip to content

Commit

Permalink
Fix formatting of ranges of code unit types
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaut committed Aug 26, 2022
1 parent 3a3b070 commit e4f4fc7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions include/fmt/ranges.h
Original file line number Diff line number Diff line change
Expand Up @@ -270,8 +270,8 @@ template <typename Range>
using uncvref_type = remove_cvref_t<range_reference_type<Range>>;

template <typename Range>
using uncvref_first_type = remove_cvref_t<
decltype(std::declval<range_reference_type<Range>>().first)>;
using uncvref_first_type =
remove_cvref_t<decltype(std::declval<range_reference_type<Range>>().first)>;

template <typename Range>
using uncvref_second_type = remove_cvref_t<
Expand Down Expand Up @@ -377,7 +377,7 @@ template <typename T, typename Char> struct is_range {
static constexpr const bool value =
detail::is_range_<T>::value && !detail::is_std_string_like<T>::value &&
!std::is_convertible<T, std::basic_string<Char>>::value &&
!std::is_constructible<detail::std_string_view<Char>, T>::value;
!std::is_convertible<detail::std_string_view<Char>, T>::value;
};

namespace detail {
Expand Down

0 comments on commit e4f4fc7

Please sign in to comment.