From 60e18f5c8fd411949866107f569b9606f7c7be24 Mon Sep 17 00:00:00 2001 From: ThePhD Date: Fri, 15 Dec 2023 00:53:51 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=9B=A0=20Force=20source=20to=20resolve=20?= =?UTF-8?q?to=20`const=20Char*`=20pointer=20for=20both=20arguments?= 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 fa8246f6..abf4a92f 100644 --- a/include/fmt/format.h +++ b/include/fmt/format.h @@ -1064,7 +1064,7 @@ namespace detail_exported { template struct fixed_string { constexpr fixed_string(const Char (&str)[N]) { detail::copy_str(static_cast(str), - str + N, data); + static_cast(str + N), data); } Char data[N] = {}; };