diff --git a/Source/Common/TString.h b/Source/Common/TString.h index 277d231..2dce34c 100644 --- a/Source/Common/TString.h +++ b/Source/Common/TString.h @@ -1346,6 +1346,13 @@ using TStringList = std::list; using T16StringList = std::list; using T32StringList = std::list; +template <> +struct fmt::formatter> : fmt::formatter +{ + auto format(const TBasicString& str, fmt::format_context& ctx) const { + return fmt::formatter::format(str.ToStdString(), ctx); + } +}; template <> struct fmt::formatter : fmt::formatter {