From 306494bd2d84625971f81167daf41a3d93018f46 Mon Sep 17 00:00:00 2001 From: Kae <80987908+Novaenia@users.noreply.github.com> Date: Thu, 29 Jun 2023 02:31:12 +1000 Subject: Unix fixes --- source/core/StarStringView.hpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'source/core/StarStringView.hpp') diff --git a/source/core/StarStringView.hpp b/source/core/StarStringView.hpp index 67d654e..9193de9 100644 --- a/source/core/StarStringView.hpp +++ b/source/core/StarStringView.hpp @@ -116,7 +116,11 @@ private: } template <> struct fmt::formatter : formatter { - fmt::v10::appender format(Star::StringView const& s, format_context& ctx) const; + auto format(Star::StringView const& s, format_context& ctx) const; +}; + +auto fmt::formatter::format(Star::StringView const& s, format_context& ctx) const { + return formatter::format(s.utf8(), ctx); }; #endif \ No newline at end of file -- cgit v1.2.3