summaryrefslogtreecommitdiff
path: root/src/mbgl/storage
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <tmpsantos@gmail.com>2017-06-21 13:38:49 +0300
committerThiago Marcos P. Santos <tmpsantos@gmail.com>2017-06-21 14:30:09 +0300
commit7e8bdadb91010b83cea7e8bad7a4e7a2488a91f6 (patch)
treee2ed9939f3a1e60fde59536a51336e70749311f7 /src/mbgl/storage
parent1427628c56d336a21c93ef0a1c57fbfabd98dc5e (diff)
downloadqtlocation-mapboxgl-7e8bdadb91010b83cea7e8bad7a4e7a2488a91f6.tar.gz
[core] Rename ThreadedObject to Thread
Now that the old Thread class is gone, we can give ThreadedObject a better name.
Diffstat (limited to 'src/mbgl/storage')
-rw-r--r--src/mbgl/storage/asset_file_source.hpp4
-rw-r--r--src/mbgl/storage/local_file_source.hpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/mbgl/storage/asset_file_source.hpp b/src/mbgl/storage/asset_file_source.hpp
index 54b8ba56f7..6ed7af8aaf 100644
--- a/src/mbgl/storage/asset_file_source.hpp
+++ b/src/mbgl/storage/asset_file_source.hpp
@@ -5,7 +5,7 @@
namespace mbgl {
namespace util {
-template <typename T> class ThreadedObject;
+template <typename T> class Thread;
} // namespace util
class AssetFileSource : public FileSource {
@@ -18,7 +18,7 @@ public:
private:
class Impl;
- std::unique_ptr<util::ThreadedObject<Impl>> impl;
+ std::unique_ptr<util::Thread<Impl>> impl;
};
} // namespace mbgl
diff --git a/src/mbgl/storage/local_file_source.hpp b/src/mbgl/storage/local_file_source.hpp
index 1e785379c0..0f065e0b5f 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 ThreadedObject;
+template <typename T> class Thread;
} // namespace util
class LocalFileSource : public FileSource {
@@ -20,7 +20,7 @@ public:
private:
class Impl;
- std::unique_ptr<util::ThreadedObject<Impl>> impl;
+ std::unique_ptr<util::Thread<Impl>> impl;
};
} // namespace mbgl