diff --git a/include/mapnik/geometry_unique.hpp b/include/mapnik/geometry_unique.hpp index 51b0dda18..167822801 100644 --- a/include/mapnik/geometry_unique.hpp +++ b/include/mapnik/geometry_unique.hpp @@ -50,10 +50,20 @@ struct geometry_unique } } + result_type operator() (line_string & line) const + { + boost::geometry::unique(line); + } + + result_type operator() (polygon & poly) const + { + boost::geometry::unique(poly); + } + template result_type operator() (T & geom) const { - boost::geometry::unique(geom); + // no-op } };