From bc5eb58c47855e1a20f2709fa52a0f9a08603d51 Mon Sep 17 00:00:00 2001 From: Andreas Stöckel Date: Tue, 23 Dec 2014 23:39:27 +0100 Subject: some more work on the Typesystem front (documentation and unit tests, still not done) --- test/core/model/TestDomain.hpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'test/core/model/TestDomain.hpp') diff --git a/test/core/model/TestDomain.hpp b/test/core/model/TestDomain.hpp index d4421a4..55a5d9b 100644 --- a/test/core/model/TestDomain.hpp +++ b/test/core/model/TestDomain.hpp @@ -36,8 +36,7 @@ static Rooted constructTypeSystem(Manager &mgr) Rooted string{new StringType(mgr, sys)}; sys->addType(string); Rooted string_struct{new StructType( - mgr, "text", sys, {new StructType::AttributeDescriptor( - mgr, "content", "", false, string)})}; + mgr, "text", sys, {new Attribute(mgr, "content", string, "", false)})}; sys->addType(string_struct); return sys; -- cgit v1.2.3