mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-04 17:26:42 +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