Skip to content

Commit

Permalink
Fix compiler errors
Browse files Browse the repository at this point in the history
Using fixes described in mapnik#4243 (comment)
  • Loading branch information
cloudwow authored and Nakaner committed Sep 6, 2023
1 parent 123232f commit 115342b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions include/mapnik/agg_renderer.hpp
Expand Up @@ -196,6 +196,7 @@ class MAPNIK_DECL agg_renderer : public feature_style_processor<agg_renderer<T0>
void setup(Map const& m, buffer_type& pixmap);
};

extern template class MAPNIK_DECL feature_style_processor<agg_renderer<image_rgba8>>;
extern template class MAPNIK_DECL agg_renderer<image<rgba8_t>>;

} // namespace mapnik
Expand Down
1 change: 1 addition & 0 deletions include/mapnik/cairo/cairo_renderer.hpp
Expand Up @@ -137,6 +137,7 @@ class MAPNIK_DECL cairo_renderer : public feature_style_processor<cairo_renderer
void setup(Map const& m);
};

extern template class MAPNIK_DECL feature_style_processor<cairo_renderer<cairo_ptr>>;
extern template class MAPNIK_DECL cairo_renderer<cairo_ptr>;

} // namespace mapnik
Expand Down
2 changes: 1 addition & 1 deletion include/mapnik/feature_style_processor.hpp
Expand Up @@ -47,7 +47,7 @@ struct layer_rendering_material;
enum eAttributeCollectionPolicy { DEFAULT = 0, COLLECT_ALL = 1 };

template<typename Processor>
class feature_style_processor
class MAPNIK_DECL feature_style_processor
{
public:
explicit feature_style_processor(Map const& m, double scale_factor = 1.0);
Expand Down

0 comments on commit 115342b

Please sign in to comment.