summaryrefslogtreecommitdiff
path: root/src/core/model/Domain.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/model/Domain.cpp')
-rw-r--r--src/core/model/Domain.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/model/Domain.cpp b/src/core/model/Domain.cpp
index ef505dd..cc52ec7 100644
--- a/src/core/model/Domain.cpp
+++ b/src/core/model/Domain.cpp
@@ -66,7 +66,7 @@ bool FieldDescriptor::doValidate(Logger &logger) const
valid = false;
}
// check name
- if (!getName().empty()) {
+ if (getName() != DEFAULT_FIELD_NAME) {
valid = valid & validateName(logger);
}
// check consistency of FieldType with the rest of the FieldDescriptor.