Updated the image_view to add mapnik_decl

This commit is contained in:
Blake Thompson 2015-03-13 18:21:24 -05:00
parent 46ea6a5b1a
commit bd94cc6a60
2 changed files with 5 additions and 5 deletions

View file

@ -29,15 +29,12 @@
#include <mapnik/util/noncopyable.hpp> // for noncopyable
#include <mapnik/rule.hpp> // for rule, symbolizers
#include <mapnik/box2d.hpp> // for box2d
#include <mapnik/color.hpp> // for color
#include <mapnik/view_transform.hpp> // for view_transform
#include <mapnik/image_compositing.hpp> // for composite_mode_e
#include <mapnik/pixel_position.hpp>
#include <mapnik/request.hpp>
#include <mapnik/symbolizer_enumerations.hpp>
#include <mapnik/renderer_common.hpp>
#include <mapnik/image.hpp>
#include <mapnik/image_any.hpp>
// stl
#include <memory>
@ -51,9 +48,12 @@ namespace mapnik {
class feature_type_style;
class label_collision_detector4;
class layer;
class color;
struct marker;
class proj_transform;
struct rasterizer;
struct rgba8_t;
template<typename T> class image;
}
namespace mapnik {
@ -171,7 +171,7 @@ private:
void setup(Map const& m);
};
extern template class MAPNIK_DECL agg_renderer<image_rgba8>;
extern template class MAPNIK_DECL agg_renderer<image<rgba8_t>>;
} // namespace mapnik

View file

@ -40,7 +40,7 @@ using image_view_base = util::variant<image_view_rgba8,
image_view_gray64s,
image_view_gray64f>;
struct image_view_any : image_view_base
struct MAPNIK_DECL image_view_any : image_view_base
{
image_view_any() = default;