From cf8c6dfe32580d2d93cb67f496f50fa14c572f5c Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Sun, 31 Jan 2016 11:21:48 +0100 Subject: Enabled and fixed a bunch of warnings --- common/domain/applicationdomaintype.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'common/domain/applicationdomaintype.h') diff --git a/common/domain/applicationdomaintype.h b/common/domain/applicationdomaintype.h index 63f030c..88f094a 100644 --- a/common/domain/applicationdomaintype.h +++ b/common/domain/applicationdomaintype.h @@ -85,31 +85,37 @@ inline bool operator==(const ApplicationDomainType& lhs, const ApplicationDomain struct Entity : public ApplicationDomainType { typedef QSharedPointer Ptr; using ApplicationDomainType::ApplicationDomainType; + virtual ~Entity(); }; struct Event : public Entity { typedef QSharedPointer Ptr; using Entity::Entity; + virtual ~Event(); }; struct Todo : public Entity { typedef QSharedPointer Ptr; using Entity::Entity; + virtual ~Todo(); }; struct Calendar : public Entity { typedef QSharedPointer Ptr; using Entity::Entity; + virtual ~Calendar(); }; struct Mail : public Entity { typedef QSharedPointer Ptr; using Entity::Entity; + virtual ~Mail(); }; struct Folder : public Entity { typedef QSharedPointer Ptr; using Entity::Entity; + virtual ~Folder(); }; /** @@ -121,6 +127,7 @@ struct Folder : public Entity { struct SinkResource : public ApplicationDomainType { typedef QSharedPointer Ptr; using ApplicationDomainType::ApplicationDomainType; + virtual ~SinkResource(); }; /** -- cgit v1.2.3