From 2c77562b139c9357e71bc2f8b895f26f5b4cca37 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Sun, 12 May 2019 13:03:20 -0700 Subject: [PATCH] Fix ambiguous formatter specialization in fmt/ranges.h (#1123) --- include/fmt/ranges.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/fmt/ranges.h b/include/fmt/ranges.h index 646d63f926b3..06fcaad53025 100644 --- a/include/fmt/ranges.h +++ b/include/fmt/ranges.h @@ -82,7 +82,7 @@ template class is_like_std_string { public: static FMT_CONSTEXPR_DECL const bool value = - !std::is_void(FMT_NULL))>::value; + is_string::value || !std::is_void(FMT_NULL))>::value; }; template