aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/fmt/ranges.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/fmt/ranges.h b/include/fmt/ranges.h
index 646d63f9..06fcaad5 100644
--- a/include/fmt/ranges.h
+++ b/include/fmt/ranges.h
@@ -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>