diff options
author | David <25727384+ogniK5377@users.noreply.github.com> | 2020-08-17 06:36:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-17 06:36:05 +0200 |
commit | a91acd5365057e310e98493c9f036d2da97eac5d (patch) | |
tree | 1f23076ee0a74abe756f0c08db0da2f664d1b7e8 | |
parent | Merge pull request #4536 from lioncash/semi3 (diff) | |
parent | async_shaders: Resolve -Wpessimizing-move warning (diff) | |
download | yuzu-a91acd5365057e310e98493c9f036d2da97eac5d.tar yuzu-a91acd5365057e310e98493c9f036d2da97eac5d.tar.gz yuzu-a91acd5365057e310e98493c9f036d2da97eac5d.tar.bz2 yuzu-a91acd5365057e310e98493c9f036d2da97eac5d.tar.lz yuzu-a91acd5365057e310e98493c9f036d2da97eac5d.tar.xz yuzu-a91acd5365057e310e98493c9f036d2da97eac5d.tar.zst yuzu-a91acd5365057e310e98493c9f036d2da97eac5d.zip |
-rw-r--r-- | src/video_core/shader/async_shaders.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/shader/async_shaders.cpp b/src/video_core/shader/async_shaders.cpp index b7f66d7ee..3f6d5a75b 100644 --- a/src/video_core/shader/async_shaders.cpp +++ b/src/video_core/shader/async_shaders.cpp @@ -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())); } } |