diff options
Diffstat (limited to 'Libraries/LibJS/Runtime/NumberObject.h')
-rw-r--r-- | Libraries/LibJS/Runtime/NumberObject.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Libraries/LibJS/Runtime/NumberObject.h b/Libraries/LibJS/Runtime/NumberObject.h index c316505d66..d5574a4de3 100644 --- a/Libraries/LibJS/Runtime/NumberObject.h +++ b/Libraries/LibJS/Runtime/NumberObject.h @@ -31,6 +31,8 @@ namespace JS { class NumberObject : public Object { + JS_OBJECT(NumberObject, Object); + public: static NumberObject* create(GlobalObject&, double); @@ -41,8 +43,6 @@ public: virtual Value value_of() const override { return Value(m_value); } private: - virtual const char* class_name() const override { return "NumberObject"; } - double m_value { 0 }; }; |