From e18fe4eccd4fa74fcf89836d52d9cd737da85a02 Mon Sep 17 00:00:00 2001 From: artemp Date: Tue, 10 Jul 2012 12:49:14 +0100 Subject: [PATCH] + fix unused parameter warning --- include/mapnik/metawriter.hpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/mapnik/metawriter.hpp b/include/mapnik/metawriter.hpp index 693a9059a..ac518d28e 100644 --- a/include/mapnik/metawriter.hpp +++ b/include/mapnik/metawriter.hpp @@ -144,7 +144,11 @@ public: */ void set_size(int width, int height) { width_ = width; height_ = height; } /** Set Map object's srs. */ - virtual void set_map_srs(projection const& proj) { /* Not required when working with image coordinates. */ } + virtual void set_map_srs(projection const& proj) + { + boost::ignore_unused_variable_warning(proj); + } + /** Return the list of default properties. */ metawriter_properties const& get_default_properties() const { return dflt_properties_;} protected: