use the default cache location on ios to avoid writing to unwritable file system locations

This commit is contained in:
Konstantin Käfer
2014-09-24 17:08:44 +02:00
parent 992d9ff051
commit 1209744b38
6 changed files with 27 additions and 5 deletions

View File

@@ -571,7 +571,7 @@ void Map::prepare() {
view.make_active();
if (!fileSource) {
fileSource = std::make_shared<FileSource>(**loop);
fileSource = std::make_shared<FileSource>(**loop, platform::defaultCacheDatabase());
glyphStore = std::make_shared<GlyphStore>(fileSource);
}