diff --git a/AK/LexicalPath.h b/AK/LexicalPath.h index 5789b2ca2a..f198f8c2fb 100644 --- a/AK/LexicalPath.h +++ b/AK/LexicalPath.h @@ -64,6 +64,14 @@ private: bool m_is_absolute { false }; }; +template<> +struct Formatter : Formatter { + void format(TypeErasedFormatParams& params, FormatBuilder& builder, const LexicalPath& value) + { + Formatter::format(params, builder, value.string()); + } +}; + }; using AK::LexicalPath;