mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 10:18:13 +00:00
JsonObject: Let the compiler generate a copy constructor.
This was only needed while HashMap was noncopyable. :^)
This commit is contained in:
parent
15003245cd
commit
dd36f797d5
1 changed files with 0 additions and 6 deletions
|
@ -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(); }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue