From a552a0de674e6a986fd221bf64fd3ce05cb6413b Mon Sep 17 00:00:00 2001 From: Adam Wulkiewicz Date: Thu, 19 Jun 2014 01:11:53 +0200 Subject: [PATCH] [overlay] Replace *begin(rng) with front(rng) --- .../algorithms/detail/overlay/append_no_dups_or_spikes.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/geometry/algorithms/detail/overlay/append_no_dups_or_spikes.hpp b/include/boost/geometry/algorithms/detail/overlay/append_no_dups_or_spikes.hpp index 78de4d438..3006285c5 100644 --- a/include/boost/geometry/algorithms/detail/overlay/append_no_dups_or_spikes.hpp +++ b/include/boost/geometry/algorithms/detail/overlay/append_no_dups_or_spikes.hpp @@ -137,7 +137,7 @@ inline void clean_closing_dups_and_spikes(Range& range, // Remove closing last point range::resize(range, boost::size(range) - 1); // Add new closing point - range::push_back(range, *boost::begin(range)); + range::push_back(range, range::front(range)); } found = true; }