summaryrefslogtreecommitdiff
path: root/platform/android/src/native_map_view.hpp
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2017-02-17 15:17:21 +0100
committerKonstantin Käfer <mail@kkaefer.com>2017-02-20 14:36:27 +0100
commitc86e38e303cf12dc1bb10d70437b5a3957bea43e (patch)
treefd465788644b4a387748226b070d91e3b1886479 /platform/android/src/native_map_view.hpp
parent6c0310209de9d6721d6fb9391c43df6cb9962e22 (diff)
downloadqtlocation-mapboxgl-c86e38e303cf12dc1bb10d70437b5a3957bea43e.tar.gz
[android] use shared DefaultFileSource for all maps + OfflineManager
Diffstat (limited to 'platform/android/src/native_map_view.hpp')
-rwxr-xr-xplatform/android/src/native_map_view.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/android/src/native_map_view.hpp b/platform/android/src/native_map_view.hpp
index e7379700a9..42c8a9f40c 100755
--- a/platform/android/src/native_map_view.hpp
+++ b/platform/android/src/native_map_view.hpp
@@ -96,7 +96,7 @@ private:
size_t totalMemory = 0;
// Ensure these are initialised last
- std::unique_ptr<mbgl::DefaultFileSource> fileSource;
+ mbgl::DefaultFileSource& fileSource;
mbgl::ThreadPool threadPool;
std::unique_ptr<mbgl::Map> map;
mbgl::EdgeInsets insets;