diff options
author | Andreas Kling <kling@serenityos.org> | 2020-06-20 17:11:11 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-06-20 17:50:48 +0200 |
commit | 06e29fac57f0c2f2647aea6686337b3e28b6fa85 (patch) | |
tree | 1ade439f1b066a7461a6e37839905d2312718f78 /Libraries/LibJS/Runtime/JSONObject.h | |
parent | 9610d18ebbfbcf01eb064e205bc66207230c713b (diff) | |
download | serenity-06e29fac57f0c2f2647aea6686337b3e28b6fa85.zip |
LibJS: Split more native object constructors into construct/initialize
Diffstat (limited to 'Libraries/LibJS/Runtime/JSONObject.h')
-rw-r--r-- | Libraries/LibJS/Runtime/JSONObject.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Libraries/LibJS/Runtime/JSONObject.h b/Libraries/LibJS/Runtime/JSONObject.h index 7d097793a9..3ce62280a2 100644 --- a/Libraries/LibJS/Runtime/JSONObject.h +++ b/Libraries/LibJS/Runtime/JSONObject.h @@ -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: |