From 0cd77ef419ef553226bc333d4a1451be2cd997ea Mon Sep 17 00:00:00 2001 From: ThePhD Date: Fri, 15 Dec 2023 00:49:02 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=9B=A0=20Additional=20Iterator/Sentinel?= =?UTF-8?q?=20copy=5Fstr=20fix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- include/fmt/format.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/fmt/format.h b/include/fmt/format.h index d9dd7ea2..fa8246f6 100644 --- a/include/fmt/format.h +++ b/include/fmt/format.h @@ -1063,7 +1063,7 @@ namespace detail_exported { #if FMT_USE_NONTYPE_TEMPLATE_ARGS template struct fixed_string { constexpr fixed_string(const Char (&str)[N]) { - detail::copy_str(static_cast(str), + detail::copy_str(static_cast(str), str + N, data); } Char data[N] = {};