summaryrefslogtreecommitdiff
path: root/src/mbgl
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <tmpsantos@gmail.com>2017-06-14 17:08:12 +0300
committerThiago Marcos P. Santos <tmpsantos@gmail.com>2017-06-21 14:30:09 +0300
commit476975dbf33e73cdb4a559be028d8ec500cd4d8b (patch)
tree0fff89306b325618add59e050206ea6f3c3177c9 /src/mbgl
parent495f06ac4dd8595cd388eb72fbd98ba7d8ddc3b6 (diff)
downloadqtlocation-mapboxgl-476975dbf33e73cdb4a559be028d8ec500cd4d8b.tar.gz
[core] Convert LocalFileSource to ThreadedObject
Diffstat (limited to 'src/mbgl')
-rw-r--r--src/mbgl/storage/local_file_source.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mbgl/storage/local_file_source.hpp b/src/mbgl/storage/local_file_source.hpp
index 43319bc06e..1e785379c0 100644
--- a/src/mbgl/storage/local_file_source.hpp
+++ b/src/mbgl/storage/local_file_source.hpp
@@ -5,7 +5,7 @@
namespace mbgl {
namespace util {
-template <typename T> class Thread;
+template <typename T> class ThreadedObject;
} // namespace util
class LocalFileSource : public FileSource {
@@ -19,7 +19,8 @@ public:
private:
class Impl;
- std::unique_ptr<util::Thread<Impl>> thread;
+
+ std::unique_ptr<util::ThreadedObject<Impl>> impl;
};
} // namespace mbgl