summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno de Oliveira Abinader <bruno@mapbox.com>2017-03-15 16:07:50 +0200
committerBruno de Oliveira Abinader <bruno@mapbox.com>2017-03-17 11:25:48 +0200
commitbfc7c2967cb1cb5db04d7cbaf0af593b1e223f7f (patch)
treeda68198e7bf2e7d15daf0ed020f6ccdeaeabbb6c
parent5ff4110243482952ed1621b71e53be298fb71472 (diff)
downloadqtlocation-mapboxgl-bfc7c2967cb1cb5db04d7cbaf0af593b1e223f7f.tar.gz
[Qt] Update changes in MapObserver::onDidFailLoadingMap
-rw-r--r--platform/qt/src/qmapboxgl.cpp2
-rw-r--r--platform/qt/src/qmapboxgl_p.hpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/platform/qt/src/qmapboxgl.cpp b/platform/qt/src/qmapboxgl.cpp
index 8e7ff10315..12cfcfa46b 100644
--- a/platform/qt/src/qmapboxgl.cpp
+++ b/platform/qt/src/qmapboxgl.cpp
@@ -1602,7 +1602,7 @@ void QMapboxGLPrivate::onDidFinishLoadingMap()
emit mapChanged(QMapboxGL::MapChangeDidFinishLoadingMap);
}
-void QMapboxGLPrivate::onDidFailLoadingMap()
+void QMapboxGLPrivate::onDidFailLoadingMap(std::exception_ptr)
{
emit mapChanged(QMapboxGL::MapChangeDidFailLoadingMap);
}
diff --git a/platform/qt/src/qmapboxgl_p.hpp b/platform/qt/src/qmapboxgl_p.hpp
index 622a37a7a1..89ff7cd6fb 100644
--- a/platform/qt/src/qmapboxgl_p.hpp
+++ b/platform/qt/src/qmapboxgl_p.hpp
@@ -36,7 +36,7 @@ public:
void onCameraDidChange(mbgl::MapObserver::CameraChangeMode) final;
void onWillStartLoadingMap() final;
void onDidFinishLoadingMap() final;
- void onDidFailLoadingMap() final;
+ void onDidFailLoadingMap(std::exception_ptr) final;
void onWillStartRenderingFrame() final;
void onDidFinishRenderingFrame(mbgl::MapObserver::RenderMode) final;
void onWillStartRenderingMap() final;