summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2015-01-09 01:25:32 +0100
committerAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2015-01-09 01:25:32 +0100
commit1a05a69ebfaed97a387ec5f5ccdada7e82409743 (patch)
treedd15592771e5a414a5291b812ab0400a1ce5c591 /src/core
parente44fb038ec4404f2c38b698ec95c80d051b8d0cf (diff)
adapted to new code
Diffstat (limited to 'src/core')
-rw-r--r--src/core/model/Domain.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/core/model/Domain.cpp b/src/core/model/Domain.cpp
index f03bd7a..1de4f1a 100644
--- a/src/core/model/Domain.cpp
+++ b/src/core/model/Domain.cpp
@@ -29,9 +29,11 @@ namespace model {
void Descriptor::continueResolve(ResolutionState &state)
{
- const NodeVector<Attribute> &attributes =
- attributesDescriptor->getAttributes();
- continueResolveComposita(attributes, attributes.getIndex(), state);
+ if (attributesDescriptor != nullptr) {
+ const NodeVector<Attribute> &attributes =
+ attributesDescriptor->getAttributes();
+ continueResolveComposita(attributes, attributes.getIndex(), state);
+ }
continueResolveComposita(fieldDescriptors, fieldDescriptors.getIndex(),
state);
}