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:
@@ -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];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user