diff --git a/AK/JsonObject.h b/AK/JsonObject.h index 5d2cc36f50b..6b7cfe2d50b 100644 --- a/AK/JsonObject.h +++ b/AK/JsonObject.h @@ -142,7 +142,7 @@ public: callback(member.key, member.value); } - bool remove(String const& key) + bool remove(StringView key) { return m_members.remove(key); }