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/StarString.hpp | |
parent | c9e889723b7af832322d178975e6e440d6cd3ae5 (diff) |
Change formatting to use fmtlib (STILL NEED TO CHANGE TO FMT SYNTAX!)
Diffstat (limited to 'source/core/StarString.hpp')
-rw-r--r-- | source/core/StarString.hpp | 5 |
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 |