From c097b2ed431203044fdfea0ee5a7ee660fb486ca Mon Sep 17 00:00:00 2001 From: Thomas Fischer <thomas.fischer@ufz.de> Date: Wed, 1 Jun 2016 14:27:38 +0200 Subject: [PATCH] [GL] Make class Triangle final, protected -> private. --- GeoLib/Triangle.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/GeoLib/Triangle.h b/GeoLib/Triangle.h index 50c1a22d9ac..dc65fff94c1 100644 --- a/GeoLib/Triangle.h +++ b/GeoLib/Triangle.h @@ -28,7 +28,7 @@ class Point; * A surface is composed by triangles. The class Surface stores the position * of pointers to the points of triangles in the m_sfc_pnt_ids vector. * */ -class Triangle +class Triangle final { public: /** @@ -74,7 +74,7 @@ public: */ bool containsPoint2D (Point const& pnt) const; -protected: +private: /** a vector of pointers to points */ const std::vector<Point*> &_pnts; /** position of pointers to the geometric points */ -- GitLab