mirror of
https://github.com/mapnik/mapnik.git
synced 2025-12-08 20:13:09 +00:00
pass filter_type by r-value
This commit is contained in:
parent
62c06eabcc
commit
a1c2bd0d86
@ -35,8 +35,8 @@ class filter_featureset : public Featureset
|
||||
typedef T filter_type;
|
||||
|
||||
public:
|
||||
filter_featureset(featureset_ptr const& fs, filter_type const& filter)
|
||||
: fs_(fs), filter_(filter) {}
|
||||
filter_featureset(featureset_ptr const& fs, filter_type && filter)
|
||||
: fs_(fs), filter_(std::move(filter)) {}
|
||||
|
||||
feature_ptr next()
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user