diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2015-04-10 22:37:27 +0200 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2015-04-10 22:37:27 +0200 |
commit | 4c7132337f96486a154e75efe394f5a1c06a77a7 (patch) | |
tree | a1b49335556b5f09bd51173344899e9f2446597d /linux | |
parent | bd531b9e080f3300c6947b0e0e515218bb395f45 (diff) | |
download | qtlocation-mapboxgl-4c7132337f96486a154e75efe394f5a1c06a77a7.tar.gz |
convert DefaultFileSource to use util::Thread<>
Diffstat (limited to 'linux')
-rw-r--r-- | linux/main.cpp | 4 |
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; |