diff options
author | r.kuznetsov <r.kuznetsov@corp.mail.ru> | 2019-05-08 11:58:46 +0300 |
---|---|---|
committer | Arsentiy Milchakov <milcars@mapswithme.com> | 2019-05-08 16:49:33 +0300 |
commit | 37c5e74995665a98705049443f028eab51265f1e (patch) | |
tree | 0ee74785f14da0e976498dadde894fd1ee5bbdad /android | |
parent | e0af725d77aa0ae8b8264f584c36e5879e289f55 (diff) |
[android] Added additional check in GetStorage
Diffstat (limited to 'android')
-rw-r--r-- | android/jni/com/mapswithme/maps/MapManager.cpp | 1 |
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(); } |