summaryrefslogtreecommitdiff
path: root/AK/NonnullOwnPtr.h
diff options
context:
space:
mode:
Diffstat (limited to 'AK/NonnullOwnPtr.h')
-rw-r--r--AK/NonnullOwnPtr.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/AK/NonnullOwnPtr.h b/AK/NonnullOwnPtr.h
index d06895f642..321ea67b7d 100644
--- a/AK/NonnullOwnPtr.h
+++ b/AK/NonnullOwnPtr.h
@@ -197,9 +197,9 @@ inline void swap(NonnullOwnPtr<T>& a, NonnullOwnPtr<U>& b)
template<typename T>
struct Formatter<NonnullOwnPtr<T>> : Formatter<const T*> {
- void format(TypeErasedFormatParams& params, FormatBuilder& builder, const NonnullOwnPtr<T>& value)
+ void format(FormatBuilder& builder, const NonnullOwnPtr<T>& value)
{
- Formatter<const T*>::format(params, builder, value.ptr());
+ Formatter<const T*>::format(builder, value.ptr());
}
};