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

summaryrefslogtreecommitdiff
path: root/source/core/StarStringView.hpp
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2023-06-27 19:24:35 +1000
committerKae <80987908+Novaenia@users.noreply.github.com>2023-06-27 19:24:35 +1000
commit14b9689b6d4f4ad5276c88130dc6e449bedc0709 (patch)
tree829e760821fb887470ba2a820d309db1428f7f17 /source/core/StarStringView.hpp
parentc9e889723b7af832322d178975e6e440d6cd3ae5 (diff)
Change formatting to use fmtlib (STILL NEED TO CHANGE TO FMT SYNTAX!)
Diffstat (limited to 'source/core/StarStringView.hpp')
-rw-r--r--source/core/StarStringView.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/core/StarStringView.hpp b/source/core/StarStringView.hpp
index ab40936..67d654e 100644
--- a/source/core/StarStringView.hpp
+++ b/source/core/StarStringView.hpp
@@ -115,4 +115,8 @@ private:
}
+template <> struct fmt::formatter<Star::StringView> : formatter<std::string_view> {
+ fmt::v10::appender format(Star::StringView const& s, format_context& ctx) const;
+};
+
#endif \ No newline at end of file