summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS/Runtime/AggregateError.h
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2022-12-13 20:49:49 +0000
committerLinus Groh <mail@linusgroh.de>2022-12-14 09:59:45 +0000
commit0c50751c134385d690e436249b79e3ddf74ee369 (patch)
tree9292a5a3ebce1b38ab2c2d89df26985f8c071ae9 /Userland/Libraries/LibJS/Runtime/AggregateError.h
parent2b92c15b340ca2b5ebaa56f8304d3d2e96f64ece (diff)
downloadserenity-0c50751c134385d690e436249b79e3ddf74ee369.zip
LibJS: Convert AggregateError::create() to NonnullGCPtr
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/AggregateError.h')
-rw-r--r--Userland/Libraries/LibJS/Runtime/AggregateError.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/AggregateError.h b/Userland/Libraries/LibJS/Runtime/AggregateError.h
index d1ff1af061..6b295287e1 100644
--- a/Userland/Libraries/LibJS/Runtime/AggregateError.h
+++ b/Userland/Libraries/LibJS/Runtime/AggregateError.h
@@ -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: