From 57ac64fb2b1e8e4b5346d2df49ede3265d58aefe Mon Sep 17 00:00:00 2001 From: Konstantinos Sideris Date: Tue, 15 Aug 2017 23:28:25 +0300 Subject: [PATCH] Add missing destructors --- include/Deserializable.h | 6 ++++++ 1 file changed, 6 insertions(+) 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() + { + } };