mirror of
https://github.com/boostorg/geometry.git
synced 2026-02-02 21:02:13 +00:00
[algorithms] Fix the type of returned Range/Ring in sub_range(Polygon).
This commit is contained in:
@@ -44,7 +44,7 @@ struct sub_range<Geometry, Tag, false>
|
||||
template <typename Geometry>
|
||||
struct sub_range<Geometry, polygon_tag, false>
|
||||
{
|
||||
typedef typename geometry::ring_type<Geometry>::type & return_type;
|
||||
typedef typename geometry::ring_return_type<Geometry>::type return_type;
|
||||
|
||||
template <typename Id> static inline
|
||||
return_type apply(Geometry & geometry, Id const& id)
|
||||
|
||||
Reference in New Issue
Block a user