2
0
mirror of https://github.com/boostorg/polygon.git synced 2026-02-01 20:52:11 +00:00

Merge pull request #9 from jeremy-murphy/develop

Missing return keyword in segment_data::operator<.
This commit is contained in:
Andrii Sydorchuk
2015-09-01 17:45:24 +02:00

View File

@@ -90,7 +90,7 @@ class segment_data {
bool operator<(const segment_data& that) const {
if (points_[0] != that.points_[0]) {
points_[0] < that.points_[0];
return points_[0] < that.points_[0];
}
return points_[1] < that.points_[1];
}