diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2016-01-14 15:25:56 +0100 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2016-01-15 10:44:16 +0100 |
commit | 957415823a003111f6efecd1a1552a30f999235a (patch) | |
tree | ef767f1e3557c8d9a8964087f32beda0b39e0f26 /src | |
parent | 8939a7b7069124adac44ef822bfe6d97adcc14d6 (diff) | |
download | qtlocation-mapboxgl-957415823a003111f6efecd1a1552a30f999235a.tar.gz |
[core] Support multiple paths in SQLiteCache::getShared()
If you use many different caches, expired weak_ptrs will pile up in the unordered_map, but that is an edge case, and you probably shouldn't do that anyway.
Diffstat (limited to 'src')
-rw-r--r-- | src/mbgl/storage/sqlite_cache.hpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mbgl/storage/sqlite_cache.hpp b/src/mbgl/storage/sqlite_cache.hpp index fd02765e78..64c683f4ef 100644 --- a/src/mbgl/storage/sqlite_cache.hpp +++ b/src/mbgl/storage/sqlite_cache.hpp @@ -37,7 +37,6 @@ public: private: const std::unique_ptr<util::Thread<Impl>> thread; - static std::weak_ptr<SQLiteCache> masterPtr; }; } // namespace mbgl |