Skip to content

Commit f24f2ce

Browse files
committed
fixed fmt deprecation warning
1 parent fda0527 commit f24f2ce

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/string19.lib/string19/StringView.fmt.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ template<class char_type> struct formatter<string19::StringView, char_type> {
1111
constexpr auto parse(format_parse_context& ctx) { return ctx.begin(); }
1212

1313
template<typename FormatCtx> auto format(const string19::StringView& v, FormatCtx& ctx) {
14-
auto out = ctx.begin();
14+
auto out = ctx.out();
1515
for (auto i = 0u; i < v.count; i++) *out++ = v[i];
1616
return out;
1717
}

0 commit comments

Comments
 (0)