From e7c1ba2edf8bdb8fbe8ffe0c15908b6beac517ce Mon Sep 17 00:00:00 2001 From: Bruno de Oliveira Abinader Date: Wed, 15 Mar 2017 16:07:37 +0200 Subject: [android] Update changes in MapObserver::onDidFailLoadingMap --- platform/android/src/native_map_view.cpp | 2 +- platform/android/src/native_map_view.hpp | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'platform/android/src') diff --git a/platform/android/src/native_map_view.cpp b/platform/android/src/native_map_view.cpp index 864d4c9abb..4d7e178f85 100755 --- a/platform/android/src/native_map_view.cpp +++ b/platform/android/src/native_map_view.cpp @@ -209,7 +209,7 @@ void NativeMapView::onDidFinishLoadingMap() { notifyMapChange(MapChange::MapChangeDidFinishLoadingMap); } -void NativeMapView::onDidFailLoadingMap() { +void NativeMapView::onDidFailLoadingMap(std::exception_ptr) { notifyMapChange(MapChange::MapChangeDidFailLoadingMap); } diff --git a/platform/android/src/native_map_view.hpp b/platform/android/src/native_map_view.hpp index 3b2610c76d..edb8bd0197 100755 --- a/platform/android/src/native_map_view.hpp +++ b/platform/android/src/native_map_view.hpp @@ -23,6 +23,7 @@ #include "style/layers/layers.hpp" #include "style/sources/sources.hpp" +#include #include #include #include @@ -62,7 +63,7 @@ public: void onCameraDidChange(MapObserver::CameraChangeMode) override; void onWillStartLoadingMap() override; void onDidFinishLoadingMap() override; - void onDidFailLoadingMap() override; + void onDidFailLoadingMap(std::exception_ptr) override; void onWillStartRenderingFrame() override; void onDidFinishRenderingFrame(MapObserver::RenderMode) override; void onWillStartRenderingMap() override; -- cgit v1.2.1