From 8a2de03b0fa88fa378e1aeee683497745e6e3417 Mon Sep 17 00:00:00 2001 From: Kae <80987908+Novaenia@users.noreply.github.com> Date: Thu, 29 Jun 2023 04:08:11 +1000 Subject: i may be silly --- source/core/StarStringView.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'source/core/StarStringView.cpp') diff --git a/source/core/StarStringView.cpp b/source/core/StarStringView.cpp index fa62cf5..8974e1a 100644 --- a/source/core/StarStringView.cpp +++ b/source/core/StarStringView.cpp @@ -425,4 +425,8 @@ std::ostream& operator<<(std::ostream& os, StringView const& s) { return os; } -} \ No newline at end of file +} + +fmt::appender fmt::formatter::format(Star::StringView const& s, format_context& ctx) const { + return formatter::format(s.utf8(), ctx); +}; \ No newline at end of file -- cgit v1.2.3