diff --git a/include/boost/geometry/algorithms/detail/sub_range.hpp b/include/boost/geometry/algorithms/detail/sub_range.hpp index 1ccc11e39..eda3ce58b 100644 --- a/include/boost/geometry/algorithms/detail/sub_range.hpp +++ b/include/boost/geometry/algorithms/detail/sub_range.hpp @@ -44,7 +44,7 @@ struct sub_range template struct sub_range { - typedef typename geometry::ring_type::type & return_type; + typedef typename geometry::ring_return_type::type return_type; template static inline return_type apply(Geometry & geometry, Id const& id)