From 53a32b59b968631973303c6092ec288bba470538 Mon Sep 17 00:00:00 2001 From: artemp Date: Thu, 30 Mar 2017 14:04:57 +0100 Subject: [PATCH] add `boost::geometry::traits::push_back` specialisation for `mapnik::interior_rings` --- include/mapnik/geometry/boost_adapters.hpp | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/include/mapnik/geometry/boost_adapters.hpp b/include/mapnik/geometry/boost_adapters.hpp index dd6b9e587..e46a25c9d 100644 --- a/include/mapnik/geometry/boost_adapters.hpp +++ b/include/mapnik/geometry/boost_adapters.hpp @@ -247,6 +247,17 @@ struct clear> } }; +template +struct push_back> +{ + template + static inline void apply(mapnik::interior_rings interiors, Ring const& ring) + { + interiors.push_back(ring); + } +}; + + }}}