Add missing destructors

pull/1/head
Konstantinos Sideris 8 years ago
parent 8d81489e05
commit 57ac64fb2b
  1. 6
      include/Deserializable.h

@ -46,10 +46,16 @@ public:
virtual void deserialize(const QJsonDocument &) virtual void deserialize(const QJsonDocument &)
{ {
} }
virtual ~Deserializable()
{
}
}; };
class Serializable class Serializable
{ {
public: public:
virtual QJsonObject serialize() const = 0; virtual QJsonObject serialize() const = 0;
virtual ~Serializable()
{
}
}; };

Loading…
Cancel
Save