From 9a9646aa38435f5cec9faa0c23fb2d8ad875e13f Mon Sep 17 00:00:00 2001 From: Andreas Stöckel Date: Sat, 7 Feb 2015 00:13:26 +0100 Subject: Fixed problem with GC -- domains Node vector was not rooted. --- src/core/model/Document.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/core/model') diff --git a/src/core/model/Document.hpp b/src/core/model/Document.hpp index cebf266..4be3494 100644 --- a/src/core/model/Document.hpp +++ b/src/core/model/Document.hpp @@ -727,7 +727,9 @@ public: * @param name is a name for this Document. */ Document(Manager &mgr, std::string name) - : RootNode(mgr, std::move(name), nullptr), annotations(this) + : RootNode(mgr, std::move(name), nullptr), + annotations(this), + domains(this) { } -- cgit v1.2.3