Fix ambiguous formatter specialization in fmt/ranges.h (#1123)

This commit is contained in:
Victor Zverovich 2019-05-12 13:03:20 -07:00
parent 98b3775297
commit 2c77562b13

View File

@ -82,7 +82,7 @@ template <typename T> class is_like_std_string {
public: public:
static FMT_CONSTEXPR_DECL const bool value = 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> template <typename Char>