diff options
Diffstat (limited to 'Libraries/LibJS/Runtime/BooleanObject.h')
-rw-r--r-- | Libraries/LibJS/Runtime/BooleanObject.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Libraries/LibJS/Runtime/BooleanObject.h b/Libraries/LibJS/Runtime/BooleanObject.h index 4ecaaec3a5..eade92c275 100644 --- a/Libraries/LibJS/Runtime/BooleanObject.h +++ b/Libraries/LibJS/Runtime/BooleanObject.h @@ -30,6 +30,8 @@ namespace JS { class BooleanObject : public Object { + JS_OBJECT(BooleanObject, Object); + public: static BooleanObject* create(GlobalObject&, bool); @@ -42,7 +44,6 @@ public: } private: - virtual const char* class_name() const override { return "BooleanObject"; } virtual bool is_boolean_object() const override { return true; } bool m_value { false }; }; |