summaryrefslogtreecommitdiff
path: root/include/mbgl/storage/default_file_source.hpp
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2016-01-11 15:00:56 -0800
committerJohn Firebaugh <john.firebaugh@gmail.com>2016-01-13 13:40:31 -0800
commit5a7d2fd60ec4bd1639a1223ec5d2c54c534d0392 (patch)
treed37991995bd21955379e690b677fc288109aa2c1 /include/mbgl/storage/default_file_source.hpp
parent86c8446d3a4390ff6577d070ac8b5fa3ad3c5cd1 (diff)
downloadqtlocation-mapboxgl-5a7d2fd60ec4bd1639a1223ec5d2c54c534d0392.tar.gz
[core] Eliminate platform::assetRoot()
I regenerated assets.zip so that all file paths have an `assets/` prefix, as the Android AssetFileSource implementation asserts, and removed `TEST_DATA` from the paths.
Diffstat (limited to 'include/mbgl/storage/default_file_source.hpp')
-rw-r--r--include/mbgl/storage/default_file_source.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mbgl/storage/default_file_source.hpp b/include/mbgl/storage/default_file_source.hpp
index 83ea4adf5d..bedea25bef 100644
--- a/include/mbgl/storage/default_file_source.hpp
+++ b/include/mbgl/storage/default_file_source.hpp
@@ -7,7 +7,7 @@ namespace mbgl {
class DefaultFileSource : public FileSource {
public:
- DefaultFileSource(const std::string& cachePath = ":memory:", const std::string& root = "");
+ DefaultFileSource(const std::string& cachePath, const std::string& assetRoot);
~DefaultFileSource() override;
void setAccessToken(const std::string&);