mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-21 23:20:20 +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: https://github.com/SerenityOS/serenity/commit/b39c4c62d03 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…
Reference in a new issue