[core] Privatize SQLiteCache

This commit is contained in:
John Firebaugh
2016-01-06 18:01:31 -08:00
parent 0a8fef1f51
commit e7b0b31d58
9 changed files with 26 additions and 29 deletions

View File

@@ -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()) {