diff options
| author | 2018-07-18 20:55:55 -0700 | |
|---|---|---|
| committer | 2018-07-18 20:55:55 -0700 | |
| 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.gz yuzu-85421f34062bd0303f97cc9d01fa838709231326.tar.xz yuzu-85421f34062bd0303f97cc9d01fa838709231326.zip | |
Merge pull request #690 from lioncash/move
core/memory, core/hle/kernel: Use std::move where applicable
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, | |||
| 400 | 400 | ||
| 401 | // Initialize new "main" thread | 401 | // Initialize new "main" thread |
| 402 | auto thread_res = Thread::Create("main", entry_point, priority, 0, THREADPROCESSORID_0, | 402 | auto thread_res = Thread::Create("main", entry_point, priority, 0, THREADPROCESSORID_0, |
| 403 | Memory::STACK_AREA_VADDR_END, owner_process); | 403 | Memory::STACK_AREA_VADDR_END, std::move(owner_process)); |
| 404 | 404 | ||
| 405 | SharedPtr<Thread> thread = std::move(thread_res).Unwrap(); | 405 | SharedPtr<Thread> thread = std::move(thread_res).Unwrap(); |
| 406 | 406 | ||