summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2015-04-10 22:37:27 +0200
committerKonstantin Käfer <mail@kkaefer.com>2015-04-10 22:37:27 +0200
commit4c7132337f96486a154e75efe394f5a1c06a77a7 (patch)
treea1b49335556b5f09bd51173344899e9f2446597d /linux
parentbd531b9e080f3300c6947b0e0e515218bb395f45 (diff)
downloadqtlocation-mapboxgl-4c7132337f96486a154e75efe394f5a1c06a77a7.tar.gz
convert DefaultFileSource to use util::Thread<>
Diffstat (limited to 'linux')
-rw-r--r--linux/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/main.cpp b/linux/main.cpp
index 71c2424af5..d91aa7dec4 100644
--- a/linux/main.cpp
+++ b/linux/main.cpp
@@ -67,8 +67,8 @@ int main(int argc, char *argv[]) {
view = mbgl::util::make_unique<GLFWView>();
mbgl::util::Thread<mbgl::SQLiteCache> cache("/tmp/mbgl-cache.db");
- mbgl::DefaultFileSource fileSource(cache);
- mbgl::Map map(*view, fileSource);
+ mbgl::util::Thread<mbgl::DefaultFileSource> fileSource(cache);
+ mbgl::Map map(*view, *fileSource);
// Load settings
mbgl::Settings_JSON settings;