diff options
Diffstat (limited to 'include/mbgl/storage')
-rw-r--r-- | include/mbgl/storage/default_file_source.hpp | 2 | ||||
-rw-r--r-- | include/mbgl/storage/file_source.hpp | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/include/mbgl/storage/default_file_source.hpp b/include/mbgl/storage/default_file_source.hpp index 8cfae03a96..5d018b720e 100644 --- a/include/mbgl/storage/default_file_source.hpp +++ b/include/mbgl/storage/default_file_source.hpp @@ -19,7 +19,7 @@ public: std::string getAccessToken() const { return accessToken; } // FileSource API - Request* request(const Resource&, uv_loop_t*, Callback) override; + Request* request(const Resource&, Callback) override; void cancel(Request*) override; public: diff --git a/include/mbgl/storage/file_source.hpp b/include/mbgl/storage/file_source.hpp index 3b19e00788..a53bf31c2c 100644 --- a/include/mbgl/storage/file_source.hpp +++ b/include/mbgl/storage/file_source.hpp @@ -9,8 +9,6 @@ #include <functional> -typedef struct uv_loop_s uv_loop_t; - namespace mbgl { class Request; @@ -26,7 +24,7 @@ public: // These can be called from any thread. The callback will be invoked in the loop. // You can only cancel a request from the same thread it was created in. - virtual Request* request(const Resource&, uv_loop_t*, Callback) = 0; + virtual Request* request(const Resource&, Callback) = 0; virtual void cancel(Request*) = 0; }; |