summaryrefslogtreecommitdiff
path: root/src/core/model/Node.hpp
diff options
context:
space:
mode:
authorBenjamin Paassen <bpaassen@techfak.uni-bielefeld.de>2015-01-22 00:43:14 +0100
committerBenjamin Paassen <bpaassen@techfak.uni-bielefeld.de>2015-01-22 00:43:14 +0100
commit601d07df6339696bace0f303a69a0a02a39f9eea (patch)
tree036d237800a151f51826fa401c56d15429d70bca /src/core/model/Node.hpp
parentc2fb0693208c2e980fdb161e63ef82096c49d59a (diff)
made setParent protected to be consistent with move semantics.
Diffstat (limited to 'src/core/model/Node.hpp')
-rw-r--r--src/core/model/Node.hpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/core/model/Node.hpp b/src/core/model/Node.hpp
index 6923125..c5761a8 100644
--- a/src/core/model/Node.hpp
+++ b/src/core/model/Node.hpp
@@ -210,6 +210,13 @@ private:
protected:
/**
+ * Sets the parent node.
+ *
+ * @param parent is a Handle to the parent node.
+ */
+ void setParent(Handle<Node> parent);
+
+ /**
* Function which should be overwritten by derived classes in order to
* resolve node names to a list of possible nodes. The implementations of
* this function do not need to do anything but call the
@@ -451,13 +458,6 @@ public:
Rooted<Managed> getParent() const { return parent; }
/**
- * Sets the parent node.
- *
- * @param parent is a Handle to the parent node.
- */
- void setParent(Handle<Node> parent);
-
- /**
* Returns true, if the node does not have a parent. Root nodes may either
* be the root element of the complete DOM tree
*