summaryrefslogtreecommitdiffstats
path: root/common/domain/applicationdomaintype.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/domain/applicationdomaintype.h')
-rw-r--r--common/domain/applicationdomaintype.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/common/domain/applicationdomaintype.h b/common/domain/applicationdomaintype.h
index 8ebf6cb..9f2aad7 100644
--- a/common/domain/applicationdomaintype.h
+++ b/common/domain/applicationdomaintype.h
@@ -31,7 +31,9 @@
31#define SINK_ENTITY(TYPE) \ 31#define SINK_ENTITY(TYPE) \
32 typedef QSharedPointer<TYPE> Ptr; \ 32 typedef QSharedPointer<TYPE> Ptr; \
33 using Entity::Entity; \ 33 using Entity::Entity; \
34 virtual ~TYPE(); \ 34 TYPE() = default; \
35 TYPE(const ApplicationDomainType &o) : Entity(o) {} \
36 virtual ~TYPE() = default; \
35 static TYPE create(const QByteArray &resource) { return createEntity<TYPE>(resource); }; \ 37 static TYPE create(const QByteArray &resource) { return createEntity<TYPE>(resource); }; \
36 38
37 39
@@ -325,7 +327,7 @@ struct SINK_EXPORT Entity : public ApplicationDomainType {
325 using ApplicationDomainType::ApplicationDomainType; 327 using ApplicationDomainType::ApplicationDomainType;
326 Entity() = default; 328 Entity() = default;
327 Entity(const ApplicationDomainType &other) : ApplicationDomainType(other) {} 329 Entity(const ApplicationDomainType &other) : ApplicationDomainType(other) {}
328 virtual ~Entity(); 330 virtual ~Entity() = default;
329}; 331};
330 332
331struct SINK_EXPORT Contact : public Entity { 333struct SINK_EXPORT Contact : public Entity {