🛠 Force source to resolve to const Char* pointer for both arguments
This commit is contained in:
parent
0cd77ef419
commit
60e18f5c8f
@ -1064,7 +1064,7 @@ namespace detail_exported {
|
|||||||
template <typename Char, size_t N> struct fixed_string {
|
template <typename Char, size_t N> struct fixed_string {
|
||||||
constexpr fixed_string(const Char (&str)[N]) {
|
constexpr fixed_string(const Char (&str)[N]) {
|
||||||
detail::copy_str<Char, const Char*, const Char*, Char*>(static_cast<const Char*>(str),
|
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] = {};
|
Char data[N] = {};
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user