From eae8686dcaaedc80f86d8940833addb7ab517127 Mon Sep 17 00:00:00 2001 From: Artem Pavlenko Date: Tue, 17 Oct 2017 11:59:51 +0200 Subject: [PATCH] doh g++-49! (ref #14) --- include/mapbox/geometry/algorithms/detail/boost_adapters.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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