From 601d07df6339696bace0f303a69a0a02a39f9eea Mon Sep 17 00:00:00 2001 From: Benjamin Paassen Date: Thu, 22 Jan 2015 00:43:14 +0100 Subject: made setParent protected to be consistent with move semantics. --- src/core/model/Node.hpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/core/model/Node.hpp') 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 @@ -209,6 +209,13 @@ private: Logger &logger) const; protected: + /** + * Sets the parent node. + * + * @param parent is a Handle to the parent node. + */ + void setParent(Handle parent); + /** * Function which should be overwritten by derived classes in order to * resolve node names to a list of possible nodes. The implementations of @@ -450,13 +457,6 @@ public: */ Rooted getParent() const { return parent; } - /** - * Sets the parent node. - * - * @param parent is a Handle to the parent node. - */ - void setParent(Handle parent); - /** * Returns true, if the node does not have a parent. Root nodes may either * be the root element of the complete DOM tree -- cgit v1.2.3