forked from MrBesen/lolautoaccept
dd: use move semantics
This commit is contained in:
parent
2fdb7544c8
commit
9f2b175502
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue