mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-05 09:06:08 +00:00
LibJS: Convert SetIterator::create() to NonnullGCPtr
This commit is contained in:
parent
1c8b700248
commit
c200c247e4
Notes:
sideshowbarker
2024-07-17 03:16:44 +09:00
Author: https://github.com/linusg
Commit: c200c247e4
Pull-request: https://github.com/SerenityOS/serenity/pull/16479
Reviewed-by: https://github.com/davidot ✅
2 changed files with 3 additions and 3 deletions
|
@ -16,7 +16,7 @@ class SetIterator final : public Object {
|
|||
JS_OBJECT(SetIterator, Object);
|
||||
|
||||
public:
|
||||
static SetIterator* create(Realm&, Set& set, Object::PropertyKind iteration_kind);
|
||||
static NonnullGCPtr<SetIterator> create(Realm&, Set& set, Object::PropertyKind iteration_kind);
|
||||
|
||||
virtual ~SetIterator() override = default;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue