1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 04:07:45 +00:00

LibJS: Convert Date::create() to NonnullGCPtr

This commit is contained in:
Linus Groh 2022-12-13 20:49:50 +00:00
parent 0eeb3164fa
commit 790b21c8b5
2 changed files with 3 additions and 4 deletions

View file

@ -15,8 +15,7 @@ class Date final : public Object {
JS_OBJECT(Date, Object);
public:
static Date* create(Realm&, double date_value);
static Date* now(VM&);
static NonnullGCPtr<Date> create(Realm&, double date_value);
virtual ~Date() override = default;