🛠 Force source to resolve to const Char* pointer for both arguments

This commit is contained in:
ThePhD 2023-12-15 00:53:51 -05:00
parent 0cd77ef419
commit 60e18f5c8f
No known key found for this signature in database
GPG Key ID: 1509DB1C0F702BFA

View File

@ -1064,7 +1064,7 @@ namespace detail_exported {
template <typename Char, size_t N> struct fixed_string {
constexpr fixed_string(const Char (&str)[N]) {
detail::copy_str<Char, const Char*, const Char*, Char*>(static_cast<const Char*>(str),
str + N, data);
static_cast<const Char*>(str + N), data);
}
Char data[N] = {};
};