diff options
| author | Linus Jahn <lnj@kaidan.im> | 2023-02-23 12:46:34 +0100 |
|---|---|---|
| committer | Linus Jahn <lnj@kaidan.im> | 2023-02-23 12:46:34 +0100 |
| commit | e8f4e4b6ad97227f2f248014e0f0d58a51305e7d (patch) | |
| tree | 992616e7483c177b9e59344ec4ed33c0d6d6cc99 /src/client/QXmppFileSharingManager.cpp | |
| parent | 450a08ff7f6c7889e2fc745666eec02bafd7998f (diff) | |
| parent | a06db8e3469a0c7acd8f5e6bc6502ad16f1d59b8 (diff) | |
Merge branch '1.5'
Diffstat (limited to 'src/client/QXmppFileSharingManager.cpp')
| -rw-r--r-- | src/client/QXmppFileSharingManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/QXmppFileSharingManager.cpp b/src/client/QXmppFileSharingManager.cpp index 7924f9eb..660ea5e2 100644 --- a/src/client/QXmppFileSharingManager.cpp +++ b/src/client/QXmppFileSharingManager.cpp @@ -566,7 +566,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 { |
