Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorr.kuznetsov <r.kuznetsov@corp.mail.ru>2019-05-08 11:58:46 +0300
committerArsentiy Milchakov <milcars@mapswithme.com>2019-05-08 16:49:33 +0300
commit37c5e74995665a98705049443f028eab51265f1e (patch)
tree0ee74785f14da0e976498dadde894fd1ee5bbdad /android
parente0af725d77aa0ae8b8264f584c36e5879e289f55 (diff)
[android] Added additional check in GetStorage
Diffstat (limited to 'android')
-rw-r--r--android/jni/com/mapswithme/maps/MapManager.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/android/jni/com/mapswithme/maps/MapManager.cpp b/android/jni/com/mapswithme/maps/MapManager.cpp
index e02bafbad7..51c57541bf 100644
--- a/android/jni/com/mapswithme/maps/MapManager.cpp
+++ b/android/jni/com/mapswithme/maps/MapManager.cpp
@@ -57,6 +57,7 @@ bool g_isBatched;
Storage & GetStorage()
{
+ CHECK(g_framework != nullptr, ());
return g_framework->GetStorage();
}