1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 12:28:12 +00:00

LibJS: Split more native object constructors into construct/initialize

This commit is contained in:
Andreas Kling 2020-06-20 17:11:11 +02:00
parent 9610d18ebb
commit 06e29fac57
16 changed files with 64 additions and 33 deletions

View file

@ -32,7 +32,8 @@ namespace JS {
class JSONObject final : public Object {
public:
JSONObject();
explicit JSONObject(GlobalObject&);
virtual void initialize(Interpreter&, GlobalObject&) override;
virtual ~JSONObject() override;
private: