mirror of
https://github.com/boostorg/geometry.git
synced 2026-02-01 20:42:10 +00:00
[overlay] change default_order using index instead of address
This commit is contained in:
@@ -116,8 +116,8 @@ private :
|
||||
|
||||
inline bool default_order(Indexed const& left, Indexed const& right) const
|
||||
{
|
||||
// We've nothing to sort on. Take the addresses
|
||||
return boost::addressof(left) < boost::addressof(right);
|
||||
// We've nothing to sort on. Take the indexes
|
||||
return left.turn_index < right.turn_index;
|
||||
}
|
||||
|
||||
inline bool consider_relative_order(Indexed const& left,
|
||||
|
||||
Reference in New Issue
Block a user