mirror of
https://github.com/boostorg/geometry.git
synced 2026-02-09 11:12:21 +00:00
[overlay] Replace *begin(rng) with front(rng)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user