From dcb55db99bcbf3855b0d7eadf79a0d9d356f4d2f Mon Sep 17 00:00:00 2001 From: Idan Horowitz Date: Thu, 17 Jun 2021 03:12:41 +0300 Subject: LibJS: Replace boolean without_side_effects parameters with an enum --- Userland/Libraries/LibJS/Runtime/ProxyObject.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Userland/Libraries/LibJS/Runtime/ProxyObject.h') diff --git a/Userland/Libraries/LibJS/Runtime/ProxyObject.h b/Userland/Libraries/LibJS/Runtime/ProxyObject.h index f540a429d7..f11a54f311 100644 --- a/Userland/Libraries/LibJS/Runtime/ProxyObject.h +++ b/Userland/Libraries/LibJS/Runtime/ProxyObject.h @@ -35,7 +35,7 @@ public: virtual Optional get_own_property_descriptor(const PropertyName&) const override; virtual bool define_property(const StringOrSymbol& property_name, const Object& descriptor, bool throw_exceptions = true) override; virtual bool has_property(const PropertyName& name) const override; - virtual Value get(const PropertyName& name, Value receiver, bool without_side_effects = false) const override; + virtual Value get(const PropertyName& name, Value receiver, AllowSideEffects = AllowSideEffects::Yes) const override; virtual bool put(const PropertyName& name, Value value, Value receiver) override; virtual bool delete_property(const PropertyName& name) override; -- cgit v1.2.3