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;