summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS/Runtime/AggregateErrorConstructor.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/AggregateErrorConstructor.h')
-rw-r--r--Userland/Libraries/LibJS/Runtime/AggregateErrorConstructor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/AggregateErrorConstructor.h b/Userland/Libraries/LibJS/Runtime/AggregateErrorConstructor.h
index c2d6a7c2a4..7d3492d5b9 100644
--- a/Userland/Libraries/LibJS/Runtime/AggregateErrorConstructor.h
+++ b/Userland/Libraries/LibJS/Runtime/AggregateErrorConstructor.h
@@ -14,7 +14,6 @@ class AggregateErrorConstructor final : public NativeFunction {
JS_OBJECT(AggregateErrorConstructor, NativeFunction);
public:
- explicit AggregateErrorConstructor(Realm&);
virtual void initialize(Realm&) override;
virtual ~AggregateErrorConstructor() override = default;
@@ -22,6 +21,7 @@ public:
virtual ThrowCompletionOr<Object*> construct(FunctionObject& new_target) override;
private:
+ explicit AggregateErrorConstructor(Realm&);
virtual bool has_constructor() const override { return true; }
};