diff --git a/GeoLib/PointWithID.h b/GeoLib/PointWithID.h index 3c16226e4bdd45504dc9d77841fa78bf89ce5354..135a12577ee2320b6b1e5a506796a8888758d22f 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) {}