Create SharedSQLiteCache

This commit is contained in:
Leith Bade
2015-09-16 12:45:46 +10:00
committed by Brad Leege
parent 6877888385
commit 4b587603b3
4 changed files with 25 additions and 3 deletions

View File

@@ -90,7 +90,7 @@ private:
size_t totalMemory = 0;
// Ensure these are initialised last
mbgl::SQLiteCache fileCache;
std::shared_ptr<mbgl::SQLiteCache> fileCache;
mbgl::DefaultFileSource fileSource;
mbgl::Map map;