summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBruno de Oliveira Abinader <bruno@mapbox.com>2017-03-15 16:06:52 +0200
committerBruno de Oliveira Abinader <bruno@mapbox.com>2017-03-17 11:25:48 +0200
commit5ff4110243482952ed1621b71e53be298fb71472 (patch)
tree3219da49667fb4be6c1bf0d6a2180f6bda58fdbc /src
parente10e37bc20a454829a2f7490cb527e9acb638f34 (diff)
downloadqtlocation-mapboxgl-5ff4110243482952ed1621b71e53be298fb71472.tar.gz
[core] Pass std::exception_ptr in MapObserver::onDidFailLoadingMap
Diffstat (limited to 'src')
-rw-r--r--src/mbgl/map/map.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mbgl/map/map.cpp b/src/mbgl/map/map.cpp
index 39aa5a2d07..32fbd3f0c4 100644
--- a/src/mbgl/map/map.cpp
+++ b/src/mbgl/map/map.cpp
@@ -1102,8 +1102,8 @@ void Map::Impl::onStyleLoaded() {
observer.onDidFinishLoadingStyle();
}
-void Map::Impl::onStyleError(std::exception_ptr) {
- observer.onDidFailLoadingMap();
+void Map::Impl::onStyleError(std::exception_ptr error) {
+ observer.onDidFailLoadingMap(error);
}
void Map::Impl::onResourceError(std::exception_ptr error) {