From f1bb76dedf2d6b480b566540e811a7e0d3af9886 Mon Sep 17 00:00:00 2001 From: Benjamin Paassen Date: Sun, 21 Dec 2014 15:13:37 +0100 Subject: First draft of book domain example and slight changes to the book domain: _all_ structuredclasses are listed in the domain now and StructuredClasses that are allowed at the root level have a root flag. --- src/core/model/Domain.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/model/Domain.cpp') diff --git a/src/core/model/Domain.cpp b/src/core/model/Domain.cpp index 77708e6..fafe090 100644 --- a/src/core/model/Domain.cpp +++ b/src/core/model/Domain.cpp @@ -68,7 +68,7 @@ void Domain::doResolve(std::vector> &res, const std::vector &path, Filter filter, void *filterData, unsigned idx, VisitorSet &visited) { - for (auto &s : rootStructures) { + for (auto &s : structureClasses) { s->resolve(res, path, filter, filterData, idx, visited, nullptr); } for (auto &a : annotationClasses) { -- cgit v1.2.3