Skip to content

Commit

Permalink
Fix non-matching char types.
Browse files Browse the repository at this point in the history
Signed-off-by: Daniela Engert <[email protected]>
  • Loading branch information
DanielaE authored and vitaut committed Oct 7, 2018
1 parent 041bf83 commit f16a118
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/fmt/core.h
Original file line number Diff line number Diff line change
Expand Up @@ -1258,7 +1258,7 @@ struct named_arg_base {
basic_string_view<Char> name;

// 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) {}

Expand Down Expand Up @@ -1334,7 +1334,7 @@ template <typename S, typename T, typename Char>
void arg(S, internal::named_arg<T, Char>) = delete;

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,
basic_format_args<buffer_context<FMT_CHAR(S)> > args);

Expand Down

0 comments on commit f16a118

Please sign in to comment.