diff options
Diffstat (limited to 'Libraries/LibJS/Runtime/StringConstructor.h')
-rw-r--r-- | Libraries/LibJS/Runtime/StringConstructor.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Libraries/LibJS/Runtime/StringConstructor.h b/Libraries/LibJS/Runtime/StringConstructor.h index 1cc6f8a089..4d6aaa8f18 100644 --- a/Libraries/LibJS/Runtime/StringConstructor.h +++ b/Libraries/LibJS/Runtime/StringConstructor.h @@ -42,8 +42,8 @@ private: virtual bool has_constructor() const override { return true; } virtual const char* class_name() const override { return "StringConstructor"; } - static Value raw(Interpreter&); - static Value from_char_code(Interpreter&); + JS_DECLARE_NATIVE_FUNCTION(raw); + JS_DECLARE_NATIVE_FUNCTION(from_char_code); }; } |