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 47a2f1ddf2..35cd992b8c 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_OLD_NATIVE_FUNCTION(from); + JS_DECLARE_NATIVE_FUNCTION(from); }; } |