summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS/Runtime/RegExpConstructor.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/RegExpConstructor.h')
-rw-r--r--Userland/Libraries/LibJS/Runtime/RegExpConstructor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/RegExpConstructor.h b/Userland/Libraries/LibJS/Runtime/RegExpConstructor.h
index 11e14a5a2f..a754513739 100644
--- a/Userland/Libraries/LibJS/Runtime/RegExpConstructor.h
+++ b/Userland/Libraries/LibJS/Runtime/RegExpConstructor.h
@@ -19,7 +19,7 @@ public:
virtual ~RegExpConstructor() override = default;
virtual ThrowCompletionOr<Value> call() override;
- virtual ThrowCompletionOr<Object*> construct(FunctionObject& new_target) override;
+ virtual ThrowCompletionOr<NonnullGCPtr<Object>> construct(FunctionObject& new_target) override;
RegExpLegacyStaticProperties& legacy_static_properties() { return m_legacy_static_properties; }