diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2015-05-07 19:57:12 -0700 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2015-05-13 13:54:16 -0700 |
commit | 386be7c0faf20220f1e25b1a29f478519d1e2aa9 (patch) | |
tree | 1ed1c4f6f8007111bda59c32c974cfb47c71ec8c /include/mbgl/storage | |
parent | 1d38b636402a6581c491185090f5c81495a07d13 (diff) | |
download | qtlocation-mapboxgl-386be7c0faf20220f1e25b1a29f478519d1e2aa9.tar.gz |
Remove unused
There are no longer any requests made that don't have a run loop to
dispatch back to.
Diffstat (limited to 'include/mbgl/storage')
-rw-r--r-- | include/mbgl/storage/default_file_source.hpp | 1 | ||||
-rw-r--r-- | include/mbgl/storage/file_source.hpp | 4 |
2 files changed, 0 insertions, 5 deletions
diff --git a/include/mbgl/storage/default_file_source.hpp b/include/mbgl/storage/default_file_source.hpp index d50d5ddea4..405b04a49c 100644 --- a/include/mbgl/storage/default_file_source.hpp +++ b/include/mbgl/storage/default_file_source.hpp @@ -18,7 +18,6 @@ public: // FileSource API Request* request(const Resource&, uv_loop_t*, Callback) override; void cancel(Request*) override; - void request(const Resource&, Callback) override; public: class Impl; diff --git a/include/mbgl/storage/file_source.hpp b/include/mbgl/storage/file_source.hpp index 535c41e819..7c6e578a9a 100644 --- a/include/mbgl/storage/file_source.hpp +++ b/include/mbgl/storage/file_source.hpp @@ -29,10 +29,6 @@ public: // 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 void cancel(Request*) = 0; - - // These can be called from any thread. The callback will be invoked in an arbitrary other thread. - // You cannot cancel these requests. - virtual void request(const Resource&, Callback) = 0; }; } |