diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2016-10-04 13:48:59 -0700 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2016-10-05 10:26:04 -0700 |
commit | 31be5d3c3a51976ed5db51fc7b59fd994b09b611 (patch) | |
tree | a82eea517c3debf873ab5ca4a3bf3fce889f6f34 /src/mbgl/tile/raster_tile_worker.cpp | |
parent | 3b72c288adbb9aa689047fbb277b98ab7be6ec75 (diff) | |
download | qtlocation-mapboxgl-31be5d3c3a51976ed5db51fc7b59fd994b09b611.tar.gz |
[core] Tiles that error on load are not renderable
Diffstat (limited to 'src/mbgl/tile/raster_tile_worker.cpp')
-rw-r--r-- | src/mbgl/tile/raster_tile_worker.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/tile/raster_tile_worker.cpp b/src/mbgl/tile/raster_tile_worker.cpp index d7621e35b8..443ee10400 100644 --- a/src/mbgl/tile/raster_tile_worker.cpp +++ b/src/mbgl/tile/raster_tile_worker.cpp @@ -19,7 +19,7 @@ void RasterTileWorker::parse(std::shared_ptr<const std::string> data) { auto bucket = std::make_unique<RasterBucket>(decodeImage(*data)); parent.invoke(&RasterTile::onParsed, std::move(bucket)); } catch (...) { - parent.invoke(&RasterTile::setError, std::current_exception()); + parent.invoke(&RasterTile::onError, std::current_exception()); } } |