diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-06-24 12:02:49 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-06-24 12:03:11 +0200 |
commit | dd36f797d5ad2bf16580a9d03914714ee2e0dd0e (patch) | |
tree | bb4c56449b04023edf070d28d57a74013a118936 /AK/JsonObject.h | |
parent | 15003245cdcfc6a67e33f3f8e08405a3b4e2ec6e (diff) | |
download | serenity-dd36f797d5ad2bf16580a9d03914714ee2e0dd0e.zip |
JsonObject: Let the compiler generate a copy constructor.
This was only needed while HashMap was noncopyable. :^)
Diffstat (limited to 'AK/JsonObject.h')
-rw-r--r-- | AK/JsonObject.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/AK/JsonObject.h b/AK/JsonObject.h index a47d5a9c2b..cb8a71a40f 100644 --- a/AK/JsonObject.h +++ b/AK/JsonObject.h @@ -11,12 +11,6 @@ public: JsonObject() { } ~JsonObject() { } - JsonObject(const JsonObject& other) - { - for (auto& it : other.m_members) - m_members.set(it.key, it.value); - } - int size() const { return m_members.size(); } bool is_empty() const { return m_members.is_empty(); } |