LibJS: Convert WeakMap::create() to NonnullGCPtr

This commit is contained in:
Linus Groh 2022-12-13 20:49:50 +00:00
commit 3358ddfd0e
Notes: sideshowbarker 2024-07-17 22:09:47 +09:00
2 changed files with 3 additions and 3 deletions

View file

@ -19,7 +19,7 @@ class WeakMap final
JS_OBJECT(WeakMap, Object);
public:
static WeakMap* create(Realm&);
static NonnullGCPtr<WeakMap> create(Realm&);
virtual ~WeakMap() override = default;