JsonObject: Let the compiler generate a copy constructor.

This was only needed while HashMap was noncopyable. :^)
This commit is contained in:
Andreas Kling 2019-06-24 12:02:49 +02:00
commit dd36f797d5
Notes: sideshowbarker 2024-07-19 13:29:37 +09:00

View file

@ -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(); }