summaryrefslogtreecommitdiff
path: root/bin/render.cpp
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2015-04-13 17:57:45 +0200
committerKonstantin Käfer <mail@kkaefer.com>2015-04-13 17:57:45 +0200
commit16849a341b72c0633be1e3c89498c883d6efb000 (patch)
tree7450e1c745c8dcd48af809a116bf4899cbc33608 /bin/render.cpp
parent278e6bd556865aa8cad688d4c671d19a1f5e6871 (diff)
downloadqtlocation-mapboxgl-16849a341b72c0633be1e3c89498c883d6efb000.tar.gz
hide Thread<> and separate the Implementation object
Diffstat (limited to 'bin/render.cpp')
-rw-r--r--bin/render.cpp5
1 files changed, 2 insertions, 3 deletions
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 <mbgl/util/image.hpp>
#include <mbgl/util/std.hpp>
#include <mbgl/util/io.hpp>
-#include <mbgl/util/thread.hpp>
#include <mbgl/platform/default/headless_view.hpp>
#include <mbgl/platform/default/headless_display.hpp>
@@ -67,8 +66,8 @@ int main(int argc, char *argv[]) {
using namespace mbgl;
- mbgl::util::Thread<mbgl::SQLiteCache> 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()) {