diff --git a/include/mapnik/filter_featureset.hpp b/include/mapnik/filter_featureset.hpp index 4b4041c4f..0b4430dbd 100644 --- a/include/mapnik/filter_featureset.hpp +++ b/include/mapnik/filter_featureset.hpp @@ -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() {