summaryrefslogtreecommitdiff
path: root/macosx
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 /macosx
parentbd531b9e080f3300c6947b0e0e515218bb395f45 (diff)
downloadqtlocation-mapboxgl-4c7132337f96486a154e75efe394f5a1c06a77a7.tar.gz
convert DefaultFileSource to use util::Thread<>
Diffstat (limited to 'macosx')
-rw-r--r--macosx/main.mm4
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/main.mm b/macosx/main.mm
index fb12282e28..d0f3282f8a 100644
--- a/macosx/main.mm
+++ b/macosx/main.mm
@@ -105,8 +105,8 @@ int main() {
GLFWView view;
mbgl::util::Thread<mbgl::SQLiteCache> cache(defaultCacheDatabase());
- mbgl::DefaultFileSource fileSource(cache);
- mbgl::Map map(view, fileSource);
+ mbgl::util::Thread<mbgl::DefaultFileSource> fileSource(cache);
+ mbgl::Map map(view, *fileSource);
URLHandler *handler = [[URLHandler alloc] init];
[handler setMap:&map];