From 15dd9d1aa1e0cfe8b31364fb42985ee8d5c5fc9d Mon Sep 17 00:00:00 2001 From: Benjamin Paassen Date: Mon, 5 Jan 2015 15:05:28 +0100 Subject: corrected RTTI for domain und document and added a reference to system type system in test domain. --- src/core/model/Document.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/core/model/Document.cpp') diff --git a/src/core/model/Document.cpp b/src/core/model/Document.cpp index c09532c..b700ba4 100644 --- a/src/core/model/Document.cpp +++ b/src/core/model/Document.cpp @@ -191,10 +191,9 @@ Rooted DocumentPrimitive::buildEntity( } namespace RttiTypes { -const Rtti Document{"Document", - std::unordered_set{}, - {&AnnotationEntity, &StructuredEntity}}; -const Rtti DocumentEntity{"DocumentEntity"}; +const Rtti Document{ + "Document", {&Node}, {&AnnotationEntity, &StructuredEntity}}; +const Rtti DocumentEntity{"DocumentEntity", {&Node}}; const Rtti AnnotationEntity{ "AnnotationEntity", {&DocumentEntity}, {&StructuredEntity}}; const Rtti StructuredEntity{ -- cgit v1.2.3