[core] Don't use std::move on forwarding references
This commit is contained in:
@@ -84,7 +84,7 @@ Worker::parseRasterTile(std::unique_ptr<RasterBucket> bucket,
|
||||
const std::shared_ptr<const std::string> data,
|
||||
std::function<void(RasterTileParseResult)> callback) {
|
||||
current = (current + 1) % threads.size();
|
||||
return threads[current]->invokeWithCallback(&Worker::Impl::parseRasterTile, bucket,
|
||||
return threads[current]->invokeWithCallback(&Worker::Impl::parseRasterTile, std::move(bucket),
|
||||
data, callback);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user