summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2014-12-03 13:42:02 -0800
committerJohn Firebaugh <john.firebaugh@gmail.com>2014-12-03 13:42:02 -0800
commit10ebcbca93327e098a48d88869b6d8a2a19df6da (patch)
treeba10a02d1967bc891c90e65e6e1645465ce53b29 /platform
parent21b4f8c501d67ed8ecf6dedbdd55064a5c8f823c (diff)
downloadqtlocation-mapboxgl-10ebcbca93327e098a48d88869b6d8a2a19df6da.tar.gz
Remove unused
Diffstat (limited to 'platform')
-rw-r--r--platform/default/caching_http_file_source.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/platform/default/caching_http_file_source.cpp b/platform/default/caching_http_file_source.cpp
index 5bb6d7d1f8..4ea85dd2c4 100644
--- a/platform/default/caching_http_file_source.cpp
+++ b/platform/default/caching_http_file_source.cpp
@@ -9,20 +9,6 @@
namespace mbgl {
-CachingHTTPFileSource::CachingHTTPFileSource(uv_loop_t* loop_, const std::string &path_)
- : thread_id(uv_thread_self()),
- path(path_),
- store(!path.empty() ? util::ptr<SQLiteStore>(new SQLiteStore(loop_, path)) : nullptr),
- loop(loop_),
- queue(new uv_messenger_t) {
-
- uv_messenger_init(loop, queue, [](void *ptr) {
- std::unique_ptr<std::function<void()>> fn { reinterpret_cast<std::function<void()> *>(ptr) };
- (*fn)();
- });
- uv_unref((uv_handle_t *)&queue->async);
-}
-
CachingHTTPFileSource::CachingHTTPFileSource(const std::string &path_)
: path(path_) {}