explicit std::move
This commit is contained in:
parent
1df88908e4
commit
5adbd85439
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,7 @@ feature_ptr raster_featureset<LookupPolicy>::next()
|
||||||
rem.maxy() + y_off + height);
|
rem.maxy() + y_off + height);
|
||||||
intersect = t.backward(feature_raster_extent);
|
intersect = t.backward(feature_raster_extent);
|
||||||
mapnik::image_data_any data = reader->read(x_off, y_off, width, height);
|
mapnik::image_data_any data = reader->read(x_off, y_off, width, height);
|
||||||
mapnik::raster_ptr raster = std::make_shared<mapnik::raster>(intersect, data, 1.0);
|
mapnik::raster_ptr raster = std::make_shared<mapnik::raster>(intersect, std::move(data), 1.0);
|
||||||
raster->premultiplied_alpha_ = reader->premultiplied_alpha();
|
raster->premultiplied_alpha_ = reader->premultiplied_alpha();
|
||||||
feature->set_raster(raster);
|
feature->set_raster(raster);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue