dd: use move semantics

This commit is contained in:
Oliver 2023-08-29 00:18:08 +02:00
parent 2fdb7544c8
commit 9f2b175502
Signed by: okaestne
GPG Key ID: 06A81B143EA9588F
1 changed files with 1 additions and 2 deletions

View File

@ -369,8 +369,7 @@ void DataDragon::threadLoop() {
lock.unlock();
auto it = notDownloadedImages.begin();
QString champid = *it;
notDownloadedImages.erase(it);
auto champid = std::move(notDownloadedImages.extract(it).value());
prefetchChampImage(champid, ImageType::SQUARE);