summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS/Runtime/ObjectConstructor.h
diff options
context:
space:
mode:
authorIdan Horowitz <idan.horowitz@gmail.com>2021-07-06 19:40:49 +0300
committerLinus Groh <mail@linusgroh.de>2021-07-06 18:41:15 +0100
commit0f91883b1734a7eaafbd7440d741c67e13884678 (patch)
tree6de805e4f3b813f75b34b51a21b8bf73be4ad426 /Userland/Libraries/LibJS/Runtime/ObjectConstructor.h
parent148679d1b55b92990026067d2d4dadc9d2724fbc (diff)
downloadserenity-0f91883b1734a7eaafbd7440d741c67e13884678.zip
LibJS: Rename ObjectConstructor::{define_property_ => define_property}
As the non-standard helper define_property is now removed, this doesnt clash with it anymore.
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/ObjectConstructor.h')
-rw-r--r--Userland/Libraries/LibJS/Runtime/ObjectConstructor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/ObjectConstructor.h b/Userland/Libraries/LibJS/Runtime/ObjectConstructor.h
index 42fd41fb5e..ad0f300708 100644
--- a/Userland/Libraries/LibJS/Runtime/ObjectConstructor.h
+++ b/Userland/Libraries/LibJS/Runtime/ObjectConstructor.h
@@ -25,7 +25,7 @@ public:
private:
virtual bool has_constructor() const override { return true; }
- JS_DECLARE_NATIVE_FUNCTION(define_property_);
+ JS_DECLARE_NATIVE_FUNCTION(define_property);
JS_DECLARE_NATIVE_FUNCTION(define_properties);
JS_DECLARE_NATIVE_FUNCTION(is);
JS_DECLARE_NATIVE_FUNCTION(get_own_property_descriptor);