aboutsummaryrefslogtreecommitdiff
path: root/src/client/QXmppFileSharingManager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/QXmppFileSharingManager.cpp')
-rw-r--r--src/client/QXmppFileSharingManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/QXmppFileSharingManager.cpp b/src/client/QXmppFileSharingManager.cpp
index f86a1a19..87f8dc05 100644
--- a/src/client/QXmppFileSharingManager.cpp
+++ b/src/client/QXmppFileSharingManager.cpp
@@ -569,7 +569,7 @@ std::shared_ptr<QXmppFileDownload> QXmppFileSharingManager::downloadFile(
std::move(file),
transform(download->d->hashes, [](auto hash) { return hash; }));
- await(download->d->hashesFuture, this, [download = std::move(download)](HashVerificationResultPtr hashResult) {
+ await(download->d->hashesFuture, this, [download](HashVerificationResultPtr hashResult) {
auto convert = overloaded {
[](HashVerificationResult::NoStrongHashes) {
return QXmppFileDownload::Downloaded {