Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/core/StarStringView.hpp
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2023-06-29 04:08:11 +1000
committerKae <80987908+Novaenia@users.noreply.github.com>2023-06-29 04:08:11 +1000
commit8a2de03b0fa88fa378e1aeee683497745e6e3417 (patch)
tree0a2112e7edb5d8a582cfec18d4cdc05c544eb1f9 /source/core/StarStringView.hpp
parenta78102c2a949ec979778cd7ed160a283a959a9d4 (diff)
i may be silly
Diffstat (limited to 'source/core/StarStringView.hpp')
-rw-r--r--source/core/StarStringView.hpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/source/core/StarStringView.hpp b/source/core/StarStringView.hpp
index 9193de9..3ebc952 100644
--- a/source/core/StarStringView.hpp
+++ b/source/core/StarStringView.hpp
@@ -116,11 +116,7 @@ private:
}
template <> struct fmt::formatter<Star::StringView> : formatter<std::string_view> {
- auto format(Star::StringView const& s, format_context& ctx) const;
-};
-
-auto fmt::formatter<Star::StringView>::format(Star::StringView const& s, format_context& ctx) const {
- return formatter<std::string_view>::format(s.utf8(), ctx);
+ fmt::appender format(Star::StringView const& s, format_context& ctx) const;
};
#endif \ No newline at end of file