diff options
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/Temporal/TimeZoneConstructor.h')
-rw-r--r-- | Userland/Libraries/LibJS/Runtime/Temporal/TimeZoneConstructor.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/Temporal/TimeZoneConstructor.h b/Userland/Libraries/LibJS/Runtime/Temporal/TimeZoneConstructor.h index 385a9b0438..fb655b515b 100644 --- a/Userland/Libraries/LibJS/Runtime/Temporal/TimeZoneConstructor.h +++ b/Userland/Libraries/LibJS/Runtime/Temporal/TimeZoneConstructor.h @@ -24,7 +24,7 @@ public: private: virtual bool has_constructor() const override { return true; } - JS_DECLARE_NATIVE_FUNCTION(from); + JS_DECLARE_OLD_NATIVE_FUNCTION(from); }; } |