mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-24 12:14:26 +00:00
Fix ambiguous formatter specialization in fmt/ranges.h (#1123)
This commit is contained in:
parent
98b3775297
commit
2c77562b13
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user