diff --git a/bindings/python/mapnik_style.cpp b/bindings/python/mapnik_style.cpp index 7eb9e449b..cbf032bf3 100644 --- a/bindings/python/mapnik_style.cpp +++ b/bindings/python/mapnik_style.cpp @@ -45,13 +45,17 @@ std::string get_image_filters(feature_type_style & style) void set_image_filters(feature_type_style & style, std::string const& filters) { std::vector new_filters; - bool result = parse_image_filters(filters, new_filters); if (!result) { throw mapnik::value_error("failed to parse image-filters: '" + filters + "'"); } - style.image_filters().swap(new_filters); +#ifdef _WINDOWS + style.image_filters() = new_filters; + // FIXME : https://svn.boost.org/trac/boost/ticket/2839 +#else + style.image_filters() = std::move(new_filters); +#endif } void export_style()