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