summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/thread.cpp
diff options
context:
space:
mode:
authorGravatar bunnei2018-07-18 20:55:55 -0700
committerGravatar GitHub2018-07-18 20:55:55 -0700
commit85421f34062bd0303f97cc9d01fa838709231326 (patch)
treec953a283bcf0f83c83b282bfea2da8080f16d556 /src/core/hle/kernel/thread.cpp
parentMerge pull request #691 from lioncash/guard (diff)
parentcore/memory, core/hle/kernel: Use std::move where applicable (diff)
downloadyuzu-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.cpp2
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