From e4c2e72a183a52989b46c8c0261f77dc1aec62e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Kr=C3=BCgler?= Date: Wed, 6 Jul 2022 20:02:10 +0200 Subject: [PATCH] Use own bool_constant, which is available for all C++ versions --- 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 0010f49e..e138ff55 100644 --- a/include/fmt/ranges.h +++ b/include/fmt/ranges.h @@ -392,7 +392,7 @@ using maybe_const_range = conditional_t::value, const R, R>; template -struct is_not_recursive_range : std::bool_constant< +struct is_not_recursive_range : bool_constant< !std::is_same, R>::value> {}; template