From 10ebcbca93327e098a48d88869b6d8a2a19df6da Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Wed, 3 Dec 2014 13:42:02 -0800 Subject: Remove unused --- platform/default/caching_http_file_source.cpp | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'platform') 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(new SQLiteStore(loop_, path)) : nullptr), - loop(loop_), - queue(new uv_messenger_t) { - - uv_messenger_init(loop, queue, [](void *ptr) { - std::unique_ptr> fn { reinterpret_cast *>(ptr) }; - (*fn)(); - }); - uv_unref((uv_handle_t *)&queue->async); -} - CachingHTTPFileSource::CachingHTTPFileSource(const std::string &path_) : path(path_) {} -- cgit v1.2.1