AK: Use StringView as key-type when removing a Value from an JsonObject

This commit is contained in:
Hendiadyoin1 2021-12-15 14:48:25 +01:00 committed by Brian Gianforcaro
parent e35709cbd2
commit b39c4c62d0
Notes: sideshowbarker 2024-07-17 22:44:42 +09:00

View file

@ -142,7 +142,7 @@ public:
callback(member.key, member.value);
}
bool remove(String const& key)
bool remove(StringView key)
{
return m_members.remove(key);
}