From e5e1faefb86d06d67829ea0e68a662ad7500abd1 Mon Sep 17 00:00:00 2001 From: ThePhD Date: Fri, 15 Dec 2023 00:42:46 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=9B=A0=20Properly=20specify=204-argument?= =?UTF-8?q?=20copy=5Fstr=20range=20version?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- include/fmt/core.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/fmt/core.h b/include/fmt/core.h index c58a892c..d1d84dcd 100644 --- a/include/fmt/core.h +++ b/include/fmt/core.h @@ -854,7 +854,7 @@ template , U>::value && is_char::value)> FMT_CONSTEXPR auto copy_str(T* begin, T* end, U* out, U* out_end) -> std::ranges::subrange { - if (is_constant_evaluated()) return copy_str(begin, end, out, out_end); + if (is_constant_evaluated()) return copy_str(begin, end, out, out_end); auto size = to_unsigned(end - begin); auto out_size = to_unsigned(out_end - out); if (size > out_size) size = out_size;