add boost::geometry::traits::push_back specialisation for mapnik::interior_rings<CoordinateType>

This commit is contained in:
artemp 2017-03-30 14:04:57 +01:00
parent 22c38b1046
commit 53a32b59b9

View file

@ -247,6 +247,17 @@ struct clear<mapnik::interior_rings<CoordinateType>>
} }
}; };
template <typename CoordinateType>
struct push_back<mapnik::interior_rings<CoordinateType>>
{
template <typename Ring>
static inline void apply(mapnik::interior_rings<CoordinateType> interiors, Ring const& ring)
{
interiors.push_back(ring);
}
};
}}} }}}