mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:27:34 +00:00
LibJS: Convert BigIntObject::create() to NonnullGCPtr
This commit is contained in:
parent
6528cbf51b
commit
cf0a24ff0c
3 changed files with 5 additions and 5 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue