summaryrefslogtreecommitdiff
path: root/include/mbgl/storage
diff options
context:
space:
mode:
Diffstat (limited to 'include/mbgl/storage')
-rw-r--r--include/mbgl/storage/online_file_source.hpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/include/mbgl/storage/online_file_source.hpp b/include/mbgl/storage/online_file_source.hpp
index b52dce35f0..fd742a54c4 100644
--- a/include/mbgl/storage/online_file_source.hpp
+++ b/include/mbgl/storage/online_file_source.hpp
@@ -5,10 +5,6 @@
namespace mbgl {
-namespace util {
-template <typename T> class Thread;
-} // namespace util
-
class OnlineFileSource : public FileSource {
public:
OnlineFileSource();
@@ -20,10 +16,10 @@ public:
std::unique_ptr<AsyncRequest> request(const Resource&, Callback) override;
private:
- friend class OnlineFileRequestImpl;
+ friend class OnlineFileRequest;
class Impl;
- const std::unique_ptr<util::Thread<Impl>> thread;
+ const std::unique_ptr<Impl> impl;
std::string accessToken;
};