summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2015-01-23 15:29:53 +0100
committerAndreas Stöckel <andreas@somweyr.de>2015-01-23 15:29:53 +0100
commit01edb481fe5919ffde18b9081a0de1a3f94b317c (patch)
treea5fe8557d00cb914532da8880e7645475f2b609f /src
parent894013f5b275673b8130e265fa4c67040f036f1e (diff)
Compiles now
Diffstat (limited to 'src')
-rw-r--r--src/core/model/Project.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/core/model/Project.cpp b/src/core/model/Project.cpp
index 56a3af2..a0f1f08 100644
--- a/src/core/model/Project.cpp
+++ b/src/core/model/Project.cpp
@@ -30,9 +30,7 @@ namespace model {
Project::Project(Manager &mgr)
: Node(mgr),
systemTypesystem(acquire(new SystemTypesystem(mgr))),
- documents(this),
- domains(this),
- typesystems(this)
+ documents(this)
{
}
@@ -54,7 +52,7 @@ Rooted<Typesystem> Project::createTypesystem(const std::string &name)
Rooted<Document> Project::createDocument(const std::string &name)
{
- return Rooted<Document> document{new Document(getManager(), name)};
+ Rooted<Document> document{new Document(getManager(), name)};
addDocument(document);
return document;
}
@@ -70,7 +68,7 @@ void Project::addDocument(Handle<Document> document)
documents.push_back(document);
}
-const NodeVector<Document> &Project::getDocuments() { return documents; }
+const NodeVector<Document> &Project::getDocuments() const { return documents; }
}
namespace RttiTypes {