Skip to content
Snippets Groups Projects
Commit 69a8657e authored by Tom Fischer's avatar Tom Fischer
Browse files

added a default value for the id parameter in constructor

parent 1319ffeb
No related branches found
No related tags found
No related merge requests found
......@@ -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)
{}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment