diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-01-31 11:21:48 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-01-31 11:21:48 +0100 |
commit | cf8c6dfe32580d2d93cb67f496f50fa14c572f5c (patch) | |
tree | f06e531c8316810f6fed688f3d7c16fa6582c4ac /common/domain/applicationdomaintype.h | |
parent | 7c52358e3fc9798715895a57e6eee3274a2b84f3 (diff) | |
download | sink-cf8c6dfe32580d2d93cb67f496f50fa14c572f5c.tar.gz sink-cf8c6dfe32580d2d93cb67f496f50fa14c572f5c.zip |
Enabled and fixed a bunch of warnings
Diffstat (limited to 'common/domain/applicationdomaintype.h')
-rw-r--r-- | common/domain/applicationdomaintype.h | 7 |
1 files changed, 7 insertions, 0 deletions
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 | |||
85 | struct Entity : public ApplicationDomainType { | 85 | struct Entity : public ApplicationDomainType { |
86 | typedef QSharedPointer<Entity> Ptr; | 86 | typedef QSharedPointer<Entity> Ptr; |
87 | using ApplicationDomainType::ApplicationDomainType; | 87 | using ApplicationDomainType::ApplicationDomainType; |
88 | virtual ~Entity(); | ||
88 | }; | 89 | }; |
89 | 90 | ||
90 | struct Event : public Entity { | 91 | struct Event : public Entity { |
91 | typedef QSharedPointer<Event> Ptr; | 92 | typedef QSharedPointer<Event> Ptr; |
92 | using Entity::Entity; | 93 | using Entity::Entity; |
94 | virtual ~Event(); | ||
93 | }; | 95 | }; |
94 | 96 | ||
95 | struct Todo : public Entity { | 97 | struct Todo : public Entity { |
96 | typedef QSharedPointer<Todo> Ptr; | 98 | typedef QSharedPointer<Todo> Ptr; |
97 | using Entity::Entity; | 99 | using Entity::Entity; |
100 | virtual ~Todo(); | ||
98 | }; | 101 | }; |
99 | 102 | ||
100 | struct Calendar : public Entity { | 103 | struct Calendar : public Entity { |
101 | typedef QSharedPointer<Calendar> Ptr; | 104 | typedef QSharedPointer<Calendar> Ptr; |
102 | using Entity::Entity; | 105 | using Entity::Entity; |
106 | virtual ~Calendar(); | ||
103 | }; | 107 | }; |
104 | 108 | ||
105 | struct Mail : public Entity { | 109 | struct Mail : public Entity { |
106 | typedef QSharedPointer<Mail> Ptr; | 110 | typedef QSharedPointer<Mail> Ptr; |
107 | using Entity::Entity; | 111 | using Entity::Entity; |
112 | virtual ~Mail(); | ||
108 | }; | 113 | }; |
109 | 114 | ||
110 | struct Folder : public Entity { | 115 | struct Folder : public Entity { |
111 | typedef QSharedPointer<Folder> Ptr; | 116 | typedef QSharedPointer<Folder> Ptr; |
112 | using Entity::Entity; | 117 | using Entity::Entity; |
118 | virtual ~Folder(); | ||
113 | }; | 119 | }; |
114 | 120 | ||
115 | /** | 121 | /** |
@@ -121,6 +127,7 @@ struct Folder : public Entity { | |||
121 | struct SinkResource : public ApplicationDomainType { | 127 | struct SinkResource : public ApplicationDomainType { |
122 | typedef QSharedPointer<SinkResource> Ptr; | 128 | typedef QSharedPointer<SinkResource> Ptr; |
123 | using ApplicationDomainType::ApplicationDomainType; | 129 | using ApplicationDomainType::ApplicationDomainType; |
130 | virtual ~SinkResource(); | ||
124 | }; | 131 | }; |
125 | 132 | ||
126 | /** | 133 | /** |