Skip to content

Commit

Permalink
Fix ambiguous formatter specialization in fmt/ranges.h (#1123)
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaut committed May 12, 2019
1 parent 98b3775 commit 2c77562
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/fmt/ranges.h
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ template <typename T> class is_like_std_string {

public:
static FMT_CONSTEXPR_DECL const bool value =
!std::is_void<decltype(check<T>(FMT_NULL))>::value;
is_string<T>::value || !std::is_void<decltype(check<T>(FMT_NULL))>::value;
};

template <typename Char>
Expand Down

0 comments on commit 2c77562

Please sign in to comment.