diff --git a/include/mapbox/geometry/algorithms/detail/boost_adapters.hpp b/include/mapbox/geometry/algorithms/detail/boost_adapters.hpp index bd0b62e..9e87ee2 100644 --- a/include/mapbox/geometry/algorithms/detail/boost_adapters.hpp +++ b/include/mapbox/geometry/algorithms/detail/boost_adapters.hpp @@ -80,9 +80,9 @@ struct interior_rings poly_.resize(1); } - void resize(std::size_t size) + void resize(std::size_t new_size) { - poly_.resize(size + 1); + poly_.resize(new_size + 1); } std::size_t size() const