From 277a0f9ef3b72fb117c80f178e027af4b792fa4f Mon Sep 17 00:00:00 2001
From: Thomas Fischer <thomas.fischer@ufz.de>
Date: Tue, 7 Jul 2015 15:05:27 +0200
Subject: [PATCH] [GL] AABB: Construct Point3d objects explicitly.

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

diff --git a/GeoLib/AABB.h b/GeoLib/AABB.h
index 3e323f27138..414cfaf08f3 100644
--- a/GeoLib/AABB.h
+++ b/GeoLib/AABB.h
@@ -130,14 +130,14 @@ public:
 	}
 
 protected:
-	MathLib::Point3d _min_pnt = std::array<double,3>{{
+	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 = std::array<double,3>{{
+		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::numeric_limits<double>::lowest()}}};
 private:
 	void init(PNT_TYPE const & pnt)
 	{
-- 
GitLab