From 941471c4d7af25d2bc78c15582cebc450b94f5c3 Mon Sep 17 00:00:00 2001
From: Dmitri Naumov <dmitri.naumov@ufz.de>
Date: Wed, 28 Aug 2013 16:32:31 +0200
Subject: [PATCH] Move Element::setNeighbor() into private section.

---
 MeshLib/Elements/Element.h | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/MeshLib/Elements/Element.h b/MeshLib/Elements/Element.h
index b1b7ceb83be..276aaf3ffb8 100644
--- a/MeshLib/Elements/Element.h
+++ b/MeshLib/Elements/Element.h
@@ -39,8 +39,6 @@ public:
 	/// Compute the minimum and maximum squared edge length for this element
 	virtual void computeSqrEdgeLengthRange(double &min, double &max) const;
 
-	void setNeighbor(Element* neighbor, unsigned const face_id);
-
 	/**
 	 * \brief Tries to add an element e as neighbour to this element.
 	 * If the elements really are neighbours, the element is added to the
@@ -210,6 +208,10 @@ protected:
 	 */
 	unsigned _value;
 	Element** _neighbors;
+	/// Sets the neighbor over the face with \c face_id to the given \c
+	/// neighbor.
+	void setNeighbor(Element* neighbor, unsigned const face_id);
+
 }; /* class */
 
 } /* namespace */
-- 
GitLab