summaryrefslogtreecommitdiff
path: root/test/core/model/TestDomain.hpp
diff options
context:
space:
mode:
authorAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2014-12-23 23:39:27 +0100
committerAndreas Stöckel <andreas@somweyr.de>2014-12-23 23:39:27 +0100
commitbc5eb58c47855e1a20f2709fa52a0f9a08603d51 (patch)
tree1a6bc9658b07bcc933ad4a5ff30f5c4f351cb12e /test/core/model/TestDomain.hpp
parent5beaf5c18d8690b88981c30ff210dce86fd8e515 (diff)
some more work on the Typesystem front (documentation and unit tests, still not done)
Diffstat (limited to 'test/core/model/TestDomain.hpp')
-rw-r--r--test/core/model/TestDomain.hpp3
1 files changed, 1 insertions, 2 deletions
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<Typesystem> constructTypeSystem(Manager &mgr)
Rooted<StringType> string{new StringType(mgr, sys)};
sys->addType(string);
Rooted<StructType> 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;