diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-06-29 04:08:11 +1000 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-06-29 04:08:11 +1000 |
commit | 8a2de03b0fa88fa378e1aeee683497745e6e3417 (patch) | |
tree | 0a2112e7edb5d8a582cfec18d4cdc05c544eb1f9 /source/core/StarStringView.cpp | |
parent | a78102c2a949ec979778cd7ed160a283a959a9d4 (diff) |
i may be silly
Diffstat (limited to 'source/core/StarStringView.cpp')
-rw-r--r-- | source/core/StarStringView.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
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<Star::StringView>::format(Star::StringView const& s, format_context& ctx) const { + return formatter<std::string_view>::format(s.utf8(), ctx); +};
\ No newline at end of file |