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

summaryrefslogtreecommitdiff
path: root/source/core/StarString.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/core/StarString.hpp')
-rw-r--r--source/core/StarString.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/core/StarString.hpp b/source/core/StarString.hpp
index 1fe1aaa..7bca996 100644
--- a/source/core/StarString.hpp
+++ b/source/core/StarString.hpp
@@ -7,6 +7,7 @@
#include "StarList.hpp"
#include "StarMap.hpp"
#include "StarSet.hpp"
+#include "StarFormat.hpp"
namespace Star {
@@ -518,4 +519,8 @@ StringList StringList::sorted(Comparator&& comparator) const {
}
+template <> struct fmt::formatter<Star::String> : formatter<std::string> {
+ fmt::v10::appender format(Star::String const& s, format_context& ctx) const;
+};
+
#endif