summaryrefslogtreecommitdiff
path: root/platform/default/src/mbgl/storage/local_file_request.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'platform/default/src/mbgl/storage/local_file_request.cpp')
-rw-r--r--platform/default/src/mbgl/storage/local_file_request.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/default/src/mbgl/storage/local_file_request.cpp b/platform/default/src/mbgl/storage/local_file_request.cpp
index 9f2351a5b7..1f00ebdb85 100644
--- a/platform/default/src/mbgl/storage/local_file_request.cpp
+++ b/platform/default/src/mbgl/storage/local_file_request.cpp
@@ -11,7 +11,7 @@
namespace mbgl {
-void requestLocalFile(const std::string& path, ActorRef<FileSourceRequest> req) {
+void requestLocalFile(const std::string& path, const ActorRef<FileSourceRequest>& req) {
Response response;
struct stat buf;
int result = stat(path.c_str(), &buf);