From c7ebb6be436d9e24e61983ee7c794a54886646e5 Mon Sep 17 00:00:00 2001
From: Thomas Fischer <thomas.fischer@ufz.de>
Date: Mon, 14 Jun 2021 17:00:41 +0200
Subject: [PATCH] [GL/AABB] Make minimal / maximal points private.

---
 GeoLib/AABB.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/GeoLib/AABB.h b/GeoLib/AABB.h
index efef8bb1b69..5e856cfc0b5 100644
--- a/GeoLib/AABB.h
+++ b/GeoLib/AABB.h
@@ -193,14 +193,14 @@ public:
                containsPoint(other_aabb.getMaxPoint(), 0);
     }
 
-protected:
+private:
     MathLib::Point3d _min_pnt = MathLib::Point3d{std::array<double, 3>{
         {std::numeric_limits<double>::max(), std::numeric_limits<double>::max(),
          std::numeric_limits<double>::max()}}};
     MathLib::Point3d _max_pnt = MathLib::Point3d{
-        std::array<double, 3>{{std::numeric_limits<double>::lowest(),
-                               std::numeric_limits<double>::lowest(),
-                               std::numeric_limits<double>::lowest()}}};
+        std::array<double, 3>{std::numeric_limits<double>::lowest(),
+                              std::numeric_limits<double>::lowest(),
+                              std::numeric_limits<double>::lowest()}};
 
 private:
     /// Enlarge the bounding box the smallest possible amount (modifying the
-- 
GitLab