From 16849a341b72c0633be1e3c89498c883d6efb000 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konstantin=20K=C3=A4fer?= Date: Mon, 13 Apr 2015 17:57:45 +0200 Subject: hide Thread<> and separate the Implementation object --- bin/render.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'bin') diff --git a/bin/render.cpp b/bin/render.cpp index 879bf840a2..01f6929092 100644 --- a/bin/render.cpp +++ b/bin/render.cpp @@ -2,7 +2,6 @@ #include #include #include -#include #include #include @@ -67,8 +66,8 @@ int main(int argc, char *argv[]) { using namespace mbgl; - mbgl::util::Thread cache(cache_file); - mbgl::DefaultFileSource fileSource(cache); + mbgl::SQLiteCache cache(cache_file); + mbgl::DefaultFileSource fileSource(&cache); // Try to load the token from the environment. if (!token.size()) { -- cgit v1.2.1