From 3883e6df939ad1ecb9a788153e087fefd9f0e838 Mon Sep 17 00:00:00 2001 From: Benjamin Paassen Date: Fri, 6 Feb 2015 16:47:49 +0100 Subject: corrected attributes descriptor handling. --- test/core/model/TestDomain.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/core/model/TestDomain.hpp') diff --git a/test/core/model/TestDomain.hpp b/test/core/model/TestDomain.hpp index 88ab715..18c42bd 100644 --- a/test/core/model/TestDomain.hpp +++ b/test/core/model/TestDomain.hpp @@ -39,7 +39,7 @@ static Rooted constructBookDomain(Manager &mgr, // Set up the "book" node. Rooted book{new StructuredClass( - mgr, "book", domain, single, {nullptr}, {nullptr}, false, true)}; + mgr, "book", domain, single, {nullptr}, false, true)}; // The structure field of it. Rooted book_field{new FieldDescriptor(mgr, book)}; @@ -54,7 +54,7 @@ static Rooted constructBookDomain(Manager &mgr, // We also add the "paragraph", which is transparent. Rooted paragraph{new StructuredClass( - mgr, "paragraph", domain, AnyCardinality, {nullptr}, {nullptr}, true)}; + mgr, "paragraph", domain, AnyCardinality, {nullptr}, true)}; section_field->addChild(paragraph); book_field->addChild(paragraph); @@ -76,7 +76,7 @@ static Rooted constructBookDomain(Manager &mgr, // Finally we add the "text" node, which is transparent as well. Rooted text{new StructuredClass( - mgr, "text", domain, AnyCardinality, {nullptr}, {nullptr}, true)}; + mgr, "text", domain, AnyCardinality, {nullptr}, true)}; paragraph_field->addChild(text); // ... and has a primitive field. -- cgit v1.2.3