From 666837bcb96ce5c5fa3b25ec677dc6be80cb2afb Mon Sep 17 00:00:00 2001 From: Adam Wulkiewicz Date: Mon, 9 Mar 2015 16:05:29 +0100 Subject: [PATCH] [algorithms] Fix the type of returned Range/Ring in sub_range(Polygon). --- include/boost/geometry/algorithms/detail/sub_range.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)