diff --git a/include/mapnik/vertex_converters.hpp b/include/mapnik/vertex_converters.hpp index a8ff2415c..b3444f934 100644 --- a/include/mapnik/vertex_converters.hpp +++ b/include/mapnik/vertex_converters.hpp @@ -98,7 +98,7 @@ struct converter_traits template static void setup(geometry_type & geom, Args const& args) { - geom.set_simplify_algorithm(static_cast(get(args.sym, args.feature, args.vars))); + geom.set_simplify_algorithm(get(args.sym, args.feature, args.vars)); geom.set_simplify_tolerance(get(args.sym,args.feature, args.vars)); } };