Commit 2c77562b authored by Victor Zverovich's avatar Victor Zverovich

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

parent 98b37752
......@@ -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>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment