diff options
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/StringConstructor.h')
-rw-r--r-- | Userland/Libraries/LibJS/Runtime/StringConstructor.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/StringConstructor.h b/Userland/Libraries/LibJS/Runtime/StringConstructor.h index ea00356da9..f05574d541 100644 --- a/Userland/Libraries/LibJS/Runtime/StringConstructor.h +++ b/Userland/Libraries/LibJS/Runtime/StringConstructor.h @@ -18,7 +18,7 @@ public: virtual ~StringConstructor() override = default; virtual ThrowCompletionOr<Value> call() override; - virtual ThrowCompletionOr<Object*> construct(FunctionObject& new_target) override; + virtual ThrowCompletionOr<NonnullGCPtr<Object>> construct(FunctionObject& new_target) override; private: explicit StringConstructor(Realm&); |