diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-06-27 19:24:35 +1000 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-06-27 19:24:35 +1000 |
commit | 14b9689b6d4f4ad5276c88130dc6e449bedc0709 (patch) | |
tree | 829e760821fb887470ba2a820d309db1428f7f17 /source/core/StarStringView.cpp | |
parent | c9e889723b7af832322d178975e6e440d6cd3ae5 (diff) |
Change formatting to use fmtlib (STILL NEED TO CHANGE TO FMT SYNTAX!)
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 d1c9ae3..7580bf6 100644 --- a/source/core/StarStringView.cpp +++ b/source/core/StarStringView.cpp @@ -430,4 +430,8 @@ std::ostream& operator<<(std::ostream& os, StringView const& s) { return os; } -}
\ No newline at end of file +} + +fmt::v10::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 |