pass filter_tag by const ref

This commit is contained in:
artemp 2012-07-10 12:50:27 +01:00
parent e18fe4eccd
commit fe8daa4a2a

View file

@ -487,7 +487,7 @@ struct filter_visitor : boost::static_visitor<void>
: src_(src) {}
template <typename T>
void operator () (T filter_tag)
void operator () (T const& filter_tag)
{
apply_filter(src_,filter_tag);
}
@ -495,7 +495,6 @@ struct filter_visitor : boost::static_visitor<void>
Src & src_;
};
}}
#endif // MAPNIK_IMAGE_FILTER_HPP