Skip to content

Commit

Permalink
🛠 Add missing traits in xchar.h
Browse files Browse the repository at this point in the history
  • Loading branch information
ThePhD committed Jan 13, 2024
1 parent 6bf5d02 commit 8925e14
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/fmt/xchar.h
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,7 @@ inline auto vformat_to(Char (&out)[Size], const Locale& loc,
const S& format_str,
typename detail::vformat_args<Char>::type args)
-> format_to_result<Char*> {
using traits = detail::fixed_buffer_traits;
auto&& buf = detail::iterator_buffer<Char*, Char, traits>(out, Size);
vformat_to(buf, detail::to_string_view(format_str), args,
detail::locale_ref(loc));
Expand Down

0 comments on commit 8925e14

Please sign in to comment.