mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-26 04:58:49 +03:00
Add missing destructors
This commit is contained in:
parent
8d81489e05
commit
57ac64fb2b
1 changed files with 6 additions and 0 deletions
|
@ -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…
Reference in a new issue