summaryrefslogtreecommitdiff
path: root/boost/geometry/algorithms/detail/overlay/pointlike_linear.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/geometry/algorithms/detail/overlay/pointlike_linear.hpp')
-rw-r--r--boost/geometry/algorithms/detail/overlay/pointlike_linear.hpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/boost/geometry/algorithms/detail/overlay/pointlike_linear.hpp b/boost/geometry/algorithms/detail/overlay/pointlike_linear.hpp
index bbf62b3633..19045b250a 100644
--- a/boost/geometry/algorithms/detail/overlay/pointlike_linear.hpp
+++ b/boost/geometry/algorithms/detail/overlay/pointlike_linear.hpp
@@ -98,10 +98,7 @@ struct multipoint_single_point
OutputIterator oit,
Strategy const& strategy)
{
- for (typename boost::range_iterator<MultiPoint const>::type
- it = boost::begin(multipoint);
- it != boost::end(multipoint);
- ++it)
+ for (auto it = boost::begin(multipoint); it != boost::end(multipoint); ++it)
{
action_selector_pl
<