mirror of
https://github.com/yuzu-emu/yuzu-mainline.git
synced 2024-12-23 12:15:28 +00:00
Merge pull request #4520 from lioncash/pessimize
async_shaders: Resolve -Wpessimizing-move warning
This commit is contained in:
commit
a91acd5365
|
@ -34,8 +34,8 @@ void AsyncShaders::AllocateWorkers(std::size_t num_workers) {
|
|||
// Create workers
|
||||
for (std::size_t i = 0; i < num_workers; i++) {
|
||||
context_list.push_back(emu_window.CreateSharedContext());
|
||||
worker_threads.push_back(std::move(
|
||||
std::thread(&AsyncShaders::ShaderCompilerThread, this, context_list[i].get())));
|
||||
worker_threads.push_back(
|
||||
std::thread(&AsyncShaders::ShaderCompilerThread, this, context_list[i].get()));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue