diff options
author | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2017-03-15 16:06:52 +0200 |
---|---|---|
committer | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2017-03-17 11:25:48 +0200 |
commit | 5ff4110243482952ed1621b71e53be298fb71472 (patch) | |
tree | 3219da49667fb4be6c1bf0d6a2180f6bda58fdbc /src | |
parent | e10e37bc20a454829a2f7490cb527e9acb638f34 (diff) | |
download | qtlocation-mapboxgl-5ff4110243482952ed1621b71e53be298fb71472.tar.gz |
[core] Pass std::exception_ptr in MapObserver::onDidFailLoadingMap
Diffstat (limited to 'src')
-rw-r--r-- | src/mbgl/map/map.cpp | 4 |
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) { |