Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Commit

Permalink
[core] Remove unused parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
alexshalamov committed Oct 11, 2019
1 parent 3a109d4 commit 2cace7a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 1 addition & 3 deletions platform/default/src/mbgl/storage/asset_file_source.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@ namespace mbgl {

class AssetFileSource::Impl {
public:
Impl(ActorRef<Impl>, std::string root_)
: root(std::move(root_)) {
}
Impl(std::string root_) : root(std::move(root_)) {}

void request(const std::string& url, ActorRef<FileSourceRequest> req) {
if (!acceptsURL(url)) {
Expand Down
2 changes: 0 additions & 2 deletions platform/default/src/mbgl/storage/local_file_source.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ namespace mbgl {

class LocalFileSource::Impl {
public:
Impl(ActorRef<Impl>) {}

void request(const std::string& url, ActorRef<FileSourceRequest> req) {
if (!acceptsURL(url)) {
Response response;
Expand Down

0 comments on commit 2cace7a

Please sign in to comment.