mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:37:35 +00:00
AK: Use StringView as key-type when removing a Value from an JsonObject
This commit is contained in:
parent
e35709cbd2
commit
b39c4c62d0
1 changed files with 1 additions and 1 deletions
|
@ -142,7 +142,7 @@ public:
|
|||
callback(member.key, member.value);
|
||||
}
|
||||
|
||||
bool remove(String const& key)
|
||||
bool remove(StringView key)
|
||||
{
|
||||
return m_members.remove(key);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue