summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-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()) {