diff --git a/Kernel/KString.h b/Kernel/KString.h index 1a2af2f318..44fc324d60 100644 --- a/Kernel/KString.h +++ b/Kernel/KString.h @@ -63,6 +63,14 @@ struct Formatter> : Formatter { } }; +template<> +struct Formatter> : Formatter { + void format(FormatBuilder& builder, NonnullOwnPtr const& value) + { + Formatter::format(builder, value->view()); + } +}; + template<> struct Traits> : public GenericTraits> { using PeekType = Kernel::KString*;