diff options
author | Benjamin Paassen <bpaassen@techfak.uni-bielefeld.de> | 2015-01-22 00:43:14 +0100 |
---|---|---|
committer | Benjamin Paassen <bpaassen@techfak.uni-bielefeld.de> | 2015-01-22 00:43:14 +0100 |
commit | 601d07df6339696bace0f303a69a0a02a39f9eea (patch) | |
tree | 036d237800a151f51826fa401c56d15429d70bca /src/core/model/Document.hpp | |
parent | c2fb0693208c2e980fdb161e63ef82096c49d59a (diff) |
made setParent protected to be consistent with move semantics.
Diffstat (limited to 'src/core/model/Document.hpp')
-rw-r--r-- | src/core/model/Document.hpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/core/model/Document.hpp b/src/core/model/Document.hpp index a7dee25..f13faf2 100644 --- a/src/core/model/Document.hpp +++ b/src/core/model/Document.hpp @@ -372,6 +372,8 @@ public: * information please refer to the header documentation above. */ class StructuredEntity : public StructureNode, public DocumentEntity { + friend Document; + protected: bool doValidate(Logger &logger) const override; @@ -497,7 +499,7 @@ public: class Anchor : public StructureNode { protected: bool doValidate(Logger &logger) const override; - + public: /** * Constructor for Anchor. @@ -545,6 +547,7 @@ public: */ class AnnotationEntity : public Node, public DocumentEntity { friend DocumentEntity; + friend Document; private: Owned<Anchor> start; |