mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 08:17:35 +00:00
LibJS: Convert AggregateError::create() to NonnullGCPtr
This commit is contained in:
parent
2b92c15b34
commit
0c50751c13
4 changed files with 6 additions and 6 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2021, Linus Groh <linusg@serenityos.org>
|
||||
* Copyright (c) 2021-2022, Linus Groh <linusg@serenityos.org>
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
@ -15,7 +15,7 @@ class AggregateError : public Error {
|
|||
JS_OBJECT(AggregateError, Error);
|
||||
|
||||
public:
|
||||
static AggregateError* create(Realm&);
|
||||
static NonnullGCPtr<AggregateError> create(Realm&);
|
||||
virtual ~AggregateError() override = default;
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue