summaryrefslogtreecommitdiff
path: root/src/core/model/Project.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/model/Project.cpp')
-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 {