Add missing destructors

This commit is contained in:
Konstantinos Sideris 2017-08-15 23:28:25 +03:00
parent 8d81489e05
commit 57ac64fb2b

View file

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