mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-05 06:32:30 +02:00
LibJS: Convert BigIntObject::create() to NonnullGCPtr
This commit is contained in:
Notes:
sideshowbarker
2024-07-17 03:18:33 +09:00
Author: https://github.com/linusg Commit: https://github.com/SerenityOS/serenity/commit/cf0a24ff0c Pull-request: https://github.com/SerenityOS/serenity/pull/16479 Reviewed-by: https://github.com/davidot ✅
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2020, Linus Groh <linusg@serenityos.org>
|
||||
* Copyright (c) 2020-2022, Linus Groh <linusg@serenityos.org>
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
@@ -15,7 +15,7 @@ class BigIntObject final : public Object {
|
||||
JS_OBJECT(BigIntObject, Object);
|
||||
|
||||
public:
|
||||
static BigIntObject* create(Realm&, BigInt&);
|
||||
static NonnullGCPtr<BigIntObject> create(Realm&, BigInt&);
|
||||
|
||||
virtual ~BigIntObject() override = default;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user