Move insteed of copy

This commit is contained in:
Lander Gallastegi 2025-12-06 15:07:19 +01:00
parent 7ee50635c0
commit 1ed8a5d111

View File

@ -145,9 +145,9 @@ void TextureCache::DownloadImageMemory(ImageId image_id) {
};
if constexpr (priority) {
scheduler.DeferPriorityOperation(operation);
scheduler.DeferPriorityOperation(std::move(operation));
} else {
scheduler.DeferOperation(operation);
scheduler.DeferOperation(std::move(operation));
}
}