diff --git a/include/Deserializable.h b/include/Deserializable.h index f4e8f425..afd4f26c 100644 --- a/include/Deserializable.h +++ b/include/Deserializable.h @@ -46,10 +46,16 @@ public: virtual void deserialize(const QJsonDocument &) { } + virtual ~Deserializable() + { + } }; class Serializable { public: virtual QJsonObject serialize() const = 0; + virtual ~Serializable() + { + } };