diff options
author | Thiago Marcos P. Santos <thiago@mapbox.com> | 2015-08-31 14:40:09 +0300 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2015-11-16 12:25:47 -0800 |
commit | 36581f3d3015d525db92248004e9dc7477705694 (patch) | |
tree | 6f5d6fb38f3ef925a1afbbf41762581b3e0dbf66 /include/mbgl/storage/file_source.hpp | |
parent | 2eb0203bf43e635b756bbf1322c53b8d299d4b37 (diff) | |
download | qtlocation-mapboxgl-36581f3d3015d525db92248004e9dc7477705694.tar.gz |
[core] Do not pass uv_loop_t around
This should be abstracted by util::RunLoop
Diffstat (limited to 'include/mbgl/storage/file_source.hpp')
-rw-r--r-- | include/mbgl/storage/file_source.hpp | 4 |
1 files changed, 1 insertions, 3 deletions
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; }; |