diff --git a/plugins/input/raster/raster_featureset.cpp b/plugins/input/raster/raster_featureset.cpp index ff465750e..6f5fa0376 100644 --- a/plugins/input/raster/raster_featureset.cpp +++ b/plugins/input/raster/raster_featureset.cpp @@ -115,7 +115,7 @@ feature_ptr raster_featureset::next() rem.maxy() + y_off + height); intersect = t.backward(feature_raster_extent); mapnik::image_data_any data = reader->read(x_off, y_off, width, height); - mapnik::raster_ptr raster = std::make_shared(intersect, data, 1.0); + mapnik::raster_ptr raster = std::make_shared(intersect, std::move(data), 1.0); raster->premultiplied_alpha_ = reader->premultiplied_alpha(); feature->set_raster(raster); }