diff --git a/include/boost/polygon/segment_data.hpp b/include/boost/polygon/segment_data.hpp index dd317fc..2bcfe11 100644 --- a/include/boost/polygon/segment_data.hpp +++ b/include/boost/polygon/segment_data.hpp @@ -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]; }