summaryrefslogtreecommitdiff
path: root/Libraries/LibJS/Runtime/JSONObject.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-06-20 17:11:11 +0200
committerAndreas Kling <kling@serenityos.org>2020-06-20 17:50:48 +0200
commit06e29fac57f0c2f2647aea6686337b3e28b6fa85 (patch)
tree1ade439f1b066a7461a6e37839905d2312718f78 /Libraries/LibJS/Runtime/JSONObject.h
parent9610d18ebbfbcf01eb064e205bc66207230c713b (diff)
downloadserenity-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.h3
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: