diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2016-01-06 18:01:31 -0800 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2016-01-08 12:31:13 -0800 |
commit | e7b0b31d58997ce0c849129d07a97cb0740beb7e (patch) | |
tree | e7c10e36551b81b40fbfb57e3dcc3da3fa55546f /bin | |
parent | 0a8fef1f516a2d230c34980b31d8e46d891941e1 (diff) | |
download | qtlocation-mapboxgl-e7b0b31d58997ce0c849129d07a97cb0740beb7e.tar.gz |
[core] Privatize SQLiteCache
Diffstat (limited to 'bin')
-rw-r--r-- | bin/render.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/bin/render.cpp b/bin/render.cpp index 71f74b043c..26fd06d507 100644 --- a/bin/render.cpp +++ b/bin/render.cpp @@ -6,7 +6,6 @@ #include <mbgl/platform/default/headless_view.hpp> #include <mbgl/platform/default/headless_display.hpp> #include <mbgl/storage/default_file_source.hpp> -#include <mbgl/storage/sqlite_cache.hpp> #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wunknown-pragmas" @@ -65,8 +64,7 @@ int main(int argc, char *argv[]) { using namespace mbgl; util::RunLoop loop; - SQLiteCache cache(cache_file); - DefaultFileSource fileSource(&cache); + DefaultFileSource fileSource(cache_file); // Try to load the token from the environment. if (!token.size()) { |