mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-05 23:59:49 +00:00
AK: Use StringView as key-type when removing a Value from an JsonObject
This commit is contained in:
parent
e35709cbd2
commit
b39c4c62d0
Notes:
sideshowbarker
2024-07-17 22:44:42 +09:00
Author: https://github.com/Hendiadyoin1
Commit: b39c4c62d0
Pull-request: https://github.com/SerenityOS/serenity/pull/11268
Reviewed-by: https://github.com/alimpfard
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