+ fix unused parameter warning

This commit is contained in:
artemp 2012-07-10 12:49:14 +01:00
parent c8b2031428
commit e18fe4eccd

View file

@ -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: