diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/mbgl/storage/default_file_source.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/mbgl/storage/default_file_source.hpp b/include/mbgl/storage/default_file_source.hpp index f929334f28..df4ab4ab34 100644 --- a/include/mbgl/storage/default_file_source.hpp +++ b/include/mbgl/storage/default_file_source.hpp @@ -10,7 +10,7 @@ namespace mbgl { namespace util { -template <typename T> class Thread; +template <typename T> class ThreadedObject; } // namespace util class DefaultFileSource : public FileSource { @@ -143,7 +143,7 @@ public: private: // Shared so destruction is done on this thread const std::shared_ptr<FileSource> assetFileSource; - const std::unique_ptr<util::Thread<Impl>> thread; + const std::unique_ptr<util::ThreadedObject<Impl>> impl; std::mutex cachedBaseURLMutex; std::string cachedBaseURL = mbgl::util::API_BASE_URL; |