diff options
author | bunnei <bunneidev@gmail.com> | 2018-07-19 05:55:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-19 05:55:55 +0200 |
commit | 85421f34062bd0303f97cc9d01fa838709231326 (patch) | |
tree | c953a283bcf0f83c83b282bfea2da8080f16d556 /src/core/hle/kernel/thread.cpp | |
parent | Merge pull request #691 from lioncash/guard (diff) | |
parent | core/memory, core/hle/kernel: Use std::move where applicable (diff) | |
download | yuzu-85421f34062bd0303f97cc9d01fa838709231326.tar yuzu-85421f34062bd0303f97cc9d01fa838709231326.tar.gz yuzu-85421f34062bd0303f97cc9d01fa838709231326.tar.bz2 yuzu-85421f34062bd0303f97cc9d01fa838709231326.tar.lz yuzu-85421f34062bd0303f97cc9d01fa838709231326.tar.xz yuzu-85421f34062bd0303f97cc9d01fa838709231326.tar.zst yuzu-85421f34062bd0303f97cc9d01fa838709231326.zip |
Diffstat (limited to 'src/core/hle/kernel/thread.cpp')
-rw-r--r-- | src/core/hle/kernel/thread.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/thread.cpp b/src/core/hle/kernel/thread.cpp index 0b3c66428..e7fd6c842 100644 --- a/src/core/hle/kernel/thread.cpp +++ b/src/core/hle/kernel/thread.cpp @@ -400,7 +400,7 @@ SharedPtr<Thread> SetupMainThread(VAddr entry_point, u32 priority, // Initialize new "main" thread auto thread_res = Thread::Create("main", entry_point, priority, 0, THREADPROCESSORID_0, - Memory::STACK_AREA_VADDR_END, owner_process); + Memory::STACK_AREA_VADDR_END, std::move(owner_process)); SharedPtr<Thread> thread = std::move(thread_res).Unwrap(); |