mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-08 02:28:15 +00:00
Fix non-matching char types.
Signed-off-by: Daniela Engert <dani@ngrt.de>
This commit is contained in:
parent
041bf83d9b
commit
f16a118e88
@ -1258,7 +1258,7 @@ struct named_arg_base {
|
|||||||
basic_string_view<Char> name;
|
basic_string_view<Char> name;
|
||||||
|
|
||||||
// Serialized value<context>.
|
// Serialized value<context>.
|
||||||
mutable char data[sizeof(basic_format_arg<format_context>)];
|
mutable char data[sizeof(basic_format_arg<typename buffer_context<Char>::type>)];
|
||||||
|
|
||||||
named_arg_base(basic_string_view<Char> nm) : name(nm) {}
|
named_arg_base(basic_string_view<Char> nm) : name(nm) {}
|
||||||
|
|
||||||
@ -1334,7 +1334,7 @@ template <typename S, typename T, typename Char>
|
|||||||
void arg(S, internal::named_arg<T, Char>) = delete;
|
void arg(S, internal::named_arg<T, Char>) = delete;
|
||||||
|
|
||||||
template <typename S>
|
template <typename S>
|
||||||
format_context::iterator vformat_to(
|
typename buffer_context<FMT_CHAR(S)>::type::iterator vformat_to(
|
||||||
internal::basic_buffer<FMT_CHAR(S)> &buf, const S &format_str,
|
internal::basic_buffer<FMT_CHAR(S)> &buf, const S &format_str,
|
||||||
basic_format_args<buffer_context<FMT_CHAR(S)> > args);
|
basic_format_args<buffer_context<FMT_CHAR(S)> > args);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user