From 1a05a69ebfaed97a387ec5f5ccdada7e82409743 Mon Sep 17 00:00:00 2001 From: Andreas Stöckel Date: Fri, 9 Jan 2015 01:25:32 +0100 Subject: adapted to new code --- src/core/model/Domain.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src') 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 &attributes = - attributesDescriptor->getAttributes(); - continueResolveComposita(attributes, attributes.getIndex(), state); + if (attributesDescriptor != nullptr) { + const NodeVector &attributes = + attributesDescriptor->getAttributes(); + continueResolveComposita(attributes, attributes.getIndex(), state); + } continueResolveComposita(fieldDescriptors, fieldDescriptors.getIndex(), state); } -- cgit v1.2.3