diff options
author | Justin R. Miller <incanus@users.noreply.github.com> | 2015-02-12 17:27:06 -0800 |
---|---|---|
committer | Justin R. Miller <incanus@users.noreply.github.com> | 2015-02-12 17:27:06 -0800 |
commit | bba8ff0364d89b458c4bafc0bf96741124f270b6 (patch) | |
tree | bb01d923353f5e34549ffa6eb19f1226e152b79b /platform | |
parent | d6bb5d732871e65edbd2c1eaa5009fc5902f3497 (diff) | |
download | qtlocation-mapboxgl-bba8ff0364d89b458c4bafc0bf96741124f270b6.tar.gz |
Revert "put cache.db in the caches folder"
Diffstat (limited to 'platform')
-rw-r--r-- | platform/ios/MGLMapView.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/ios/MGLMapView.mm b/platform/ios/MGLMapView.mm index 89ebef248c..7c1f9eb657 100644 --- a/platform/ios/MGLMapView.mm +++ b/platform/ios/MGLMapView.mm @@ -24,7 +24,7 @@ // Returns the path to the default cache database on this system. const std::string &defaultCacheDatabase() { static const std::string path = []() -> std::string { - NSArray *paths = NSSearchPathForDirectoriesInDomains(NSCachesDirectory, NSUserDomainMask, YES); + NSArray *paths = NSSearchPathForDirectoriesInDomains(NSLibraryDirectory, NSUserDomainMask, YES); if ([paths count] == 0) { // Disable the cache if we don't have a location to write. return ""; |