pass filter_tag by const ref
This commit is contained in:
parent
e18fe4eccd
commit
fe8daa4a2a
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue