diff options
Diffstat (limited to 'test/core/model/TestDocumentBuilder.hpp')
-rw-r--r-- | test/core/model/TestDocumentBuilder.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/core/model/TestDocumentBuilder.hpp b/test/core/model/TestDocumentBuilder.hpp index 4662a28..a1c8dde 100644 --- a/test/core/model/TestDocumentBuilder.hpp +++ b/test/core/model/TestDocumentBuilder.hpp @@ -235,7 +235,7 @@ Rooted<AnnotationEntity::Anchor> buildAnchor(Logger &logger, } // Then construct the Anchor itself Rooted<AnnotationEntity::Anchor> anchor{ - new AnnotationEntity::Anchor(parent->getManager(), parent, id)}; + new AnnotationEntity::Anchor(parent->getManager(), id, parent)}; // append the new entity to the right field. if (!parent->hasField(fieldName)) { logger.error(std::string("The parent has no field of the name ") + |