diff options
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/WeakMapConstructor.h')
-rw-r--r-- | Userland/Libraries/LibJS/Runtime/WeakMapConstructor.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/WeakMapConstructor.h b/Userland/Libraries/LibJS/Runtime/WeakMapConstructor.h index df71a2b69f..bb7a733e0a 100644 --- a/Userland/Libraries/LibJS/Runtime/WeakMapConstructor.h +++ b/Userland/Libraries/LibJS/Runtime/WeakMapConstructor.h @@ -18,8 +18,8 @@ public: virtual void initialize(GlobalObject&) override; virtual ~WeakMapConstructor() override; - virtual Value call() override; - virtual Value construct(FunctionObject&) override; + virtual ThrowCompletionOr<Value> call() override; + virtual ThrowCompletionOr<Object*> construct(FunctionObject&) override; private: virtual bool has_constructor() const override { return true; } |