From 07c6b5da461055f15f519da9b353781ddd56527f Mon Sep 17 00:00:00 2001 From: Alexander Shalamov Date: Fri, 11 Oct 2019 18:36:32 +0300 Subject: [PATCH] [core] Remove unused parameters --- platform/default/src/mbgl/storage/asset_file_source.cpp | 4 +--- platform/default/src/mbgl/storage/local_file_source.cpp | 2 -- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/platform/default/src/mbgl/storage/asset_file_source.cpp b/platform/default/src/mbgl/storage/asset_file_source.cpp index 7abd609b199..b13c21692f8 100644 --- a/platform/default/src/mbgl/storage/asset_file_source.cpp +++ b/platform/default/src/mbgl/storage/asset_file_source.cpp @@ -18,9 +18,7 @@ namespace mbgl { class AssetFileSource::Impl { public: - Impl(ActorRef, std::string root_) - : root(std::move(root_)) { - } + Impl(std::string root_) : root(std::move(root_)) {} void request(const std::string& url, ActorRef req) { if (!acceptsURL(url)) { diff --git a/platform/default/src/mbgl/storage/local_file_source.cpp b/platform/default/src/mbgl/storage/local_file_source.cpp index 54f12baf794..e58e68c55f9 100644 --- a/platform/default/src/mbgl/storage/local_file_source.cpp +++ b/platform/default/src/mbgl/storage/local_file_source.cpp @@ -18,8 +18,6 @@ namespace mbgl { class LocalFileSource::Impl { public: - Impl(ActorRef) {} - void request(const std::string& url, ActorRef req) { if (!acceptsURL(url)) { Response response;