diff options
-rw-r--r-- | platform/default/online_file_source.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/default/online_file_source.cpp b/platform/default/online_file_source.cpp index 00c66f004d..4f191f6cf7 100644 --- a/platform/default/online_file_source.cpp +++ b/platform/default/online_file_source.cpp @@ -193,7 +193,7 @@ std::unique_ptr<AsyncRequest> OnlineFileSource::request(const Resource& resource break; } - return std::make_unique<OnlineFileRequest>(res, callback, *impl); + return std::make_unique<OnlineFileRequest>(std::move(res), std::move(callback), *impl); } OnlineFileRequest::OnlineFileRequest(Resource resource_, Callback callback_, OnlineFileSource::Impl& impl_) |