summaryrefslogtreecommitdiff
path: root/include/mbgl/map
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 /include/mbgl/map
parente10e37bc20a454829a2f7490cb527e9acb638f34 (diff)
downloadqtlocation-mapboxgl-5ff4110243482952ed1621b71e53be298fb71472.tar.gz
[core] Pass std::exception_ptr in MapObserver::onDidFailLoadingMap
Diffstat (limited to 'include/mbgl/map')
-rw-r--r--include/mbgl/map/map_observer.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/mbgl/map/map_observer.hpp b/include/mbgl/map/map_observer.hpp
index e0a734cf5b..7f5073ba27 100644
--- a/include/mbgl/map/map_observer.hpp
+++ b/include/mbgl/map/map_observer.hpp
@@ -1,6 +1,7 @@
#pragma once
#include <cstdint>
+#include <exception>
namespace mbgl {
@@ -26,7 +27,7 @@ public:
virtual void onCameraDidChange(CameraChangeMode) {}
virtual void onWillStartLoadingMap() {}
virtual void onDidFinishLoadingMap() {}
- virtual void onDidFailLoadingMap() {}
+ virtual void onDidFailLoadingMap(std::exception_ptr) {}
virtual void onWillStartRenderingFrame() {}
virtual void onDidFinishRenderingFrame(RenderMode) {}
virtual void onWillStartRenderingMap() {}