summaryrefslogtreecommitdiff
path: root/platform/default/src/mbgl/storage/online_file_source.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'platform/default/src/mbgl/storage/online_file_source.cpp')
-rw-r--r--platform/default/src/mbgl/storage/online_file_source.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/default/src/mbgl/storage/online_file_source.cpp b/platform/default/src/mbgl/storage/online_file_source.cpp
index aa854933db..a5274c6b38 100644
--- a/platform/default/src/mbgl/storage/online_file_source.cpp
+++ b/platform/default/src/mbgl/storage/online_file_source.cpp
@@ -302,7 +302,7 @@ public:
req->onCancel(
[actorRef = thread->actor(), req = req.get()]() { actorRef.invoke(&OnlineFileSourceThread::cancel, req); });
thread->actor().invoke(&OnlineFileSourceThread::request, req.get(), std::move(res), req->actor());
- return std::move(req);
+ return req;
}
void pause() { thread->pause(); }