From 69a8657efaa976a98539803fadee1007f875213a Mon Sep 17 00:00:00 2001
From: Thomas Fischer <thomas.fischer@ufz.de>
Date: Fri, 9 Nov 2012 13:55:19 +0100
Subject: [PATCH] added a default value for the id parameter in constructor

---
 GeoLib/PointWithID.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/GeoLib/PointWithID.h b/GeoLib/PointWithID.h
index 3c16226e4bd..135a12577ee 100644
--- a/GeoLib/PointWithID.h
+++ b/GeoLib/PointWithID.h
@@ -28,7 +28,7 @@ public:
 		Point(x0, x1, x2), _id(id)
 	{}
 
-	PointWithID(double const* const coords, std::size_t id) :
+	PointWithID(double const* const coords, std::size_t id = std::numeric_limits<std::size_t>::max()) :
 		Point(coords), _id(id)
 	{}
 
-- 
GitLab