diff --git a/include/mapnik/agg_renderer.hpp b/include/mapnik/agg_renderer.hpp index e7b07b14f..4522e3aeb 100644 --- a/include/mapnik/agg_renderer.hpp +++ b/include/mapnik/agg_renderer.hpp @@ -102,7 +102,7 @@ public: mapnik::feature_ptr const& feature, proj_transform const& prj_trans); inline bool process(rule::symbolizers const& /*syms*/, - Feature const& /*feature*/, + mapnik::feature_ptr const& /*feature*/, proj_transform const& /*prj_trans*/) { // agg renderer doesn't support processing of multiple symbolizers. diff --git a/include/mapnik/cairo_renderer.hpp b/include/mapnik/cairo_renderer.hpp index 1db8263cd..1c11e605c 100644 --- a/include/mapnik/cairo_renderer.hpp +++ b/include/mapnik/cairo_renderer.hpp @@ -111,7 +111,7 @@ public: mapnik::feature_ptr const& feature, proj_transform const& prj_trans); inline bool process(rule::symbolizers const& /*syms*/, - Feature const& /*feature*/, + mapnik::feature_ptr const& /*feature*/, proj_transform const& /*prj_trans*/) { // cairo renderer doesn't support processing of multiple symbolizers. diff --git a/include/mapnik/grid/grid_renderer.hpp b/include/mapnik/grid/grid_renderer.hpp index 7fc51e8fe..73cd9a27a 100644 --- a/include/mapnik/grid/grid_renderer.hpp +++ b/include/mapnik/grid/grid_renderer.hpp @@ -98,7 +98,7 @@ public: mapnik::feature_ptr const& feature, proj_transform const& prj_trans); inline bool process(rule::symbolizers const& /*syms*/, - Feature const& /*feature*/, + mapnik::feature_ptr const& /*feature*/, proj_transform const& /*prj_trans*/) { // grid renderer doesn't support processing of multiple symbolizers. diff --git a/src/feature_style_processor.cpp b/src/feature_style_processor.cpp index 9d8e81a20..18e05cd9e 100644 --- a/src/feature_style_processor.cpp +++ b/src/feature_style_processor.cpp @@ -475,9 +475,7 @@ void feature_style_processor::render_style( // if the underlying renderer is not able to process the complete set of symbolizers, // process one by one. -#if defined(SVG_RENDERER) if(!p.process(symbols,feature,prj_trans)) -#endif { BOOST_FOREACH (symbolizer const& sym, symbols) @@ -505,9 +503,7 @@ void feature_style_processor::render_style( rule::symbolizers const& symbols = r->get_symbolizers(); // if the underlying renderer is not able to process the complete set of symbolizers, // process one by one. -#if defined(SVG_RENDERER) if(!p.process(symbols,feature,prj_trans)) -#endif { BOOST_FOREACH (symbolizer const& sym, symbols) { @@ -529,9 +525,7 @@ void feature_style_processor::render_style( rule::symbolizers const& symbols = r->get_symbolizers(); // if the underlying renderer is not able to process the complete set of symbolizers, // process one by one. -#if defined(SVG_RENDERER) if(!p.process(symbols,feature,prj_trans)) -#endif { BOOST_FOREACH (symbolizer const& sym, symbols) {