remove cast

This commit is contained in:
artemp 2014-10-17 21:22:36 +01:00
parent 6eb65434c5
commit ea9cc4c54b

View file

@ -98,7 +98,7 @@ struct converter_traits<T,mapnik::simplify_tag>
template <typename Args>
static void setup(geometry_type & geom, Args const& args)
{
geom.set_simplify_algorithm(static_cast<simplify_algorithm_e>(get<simplify_algorithm_e,keys::simplify_algorithm>(args.sym, args.feature, args.vars)));
geom.set_simplify_algorithm(get<simplify_algorithm_e,keys::simplify_algorithm>(args.sym, args.feature, args.vars));
geom.set_simplify_tolerance(get<value_double,keys::simplify_tolerance>(args.sym,args.feature, args.vars));
}
};