diff options
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/Temporal/DurationConstructor.h')
-rw-r--r-- | Userland/Libraries/LibJS/Runtime/Temporal/DurationConstructor.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/Temporal/DurationConstructor.h b/Userland/Libraries/LibJS/Runtime/Temporal/DurationConstructor.h index 73fff2b2f8..f431f4c658 100644 --- a/Userland/Libraries/LibJS/Runtime/Temporal/DurationConstructor.h +++ b/Userland/Libraries/LibJS/Runtime/Temporal/DurationConstructor.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); }; } |