summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorMai M <mathew1800@gmail.com>2021-05-29 09:08:11 +0200
committerGitHub <noreply@github.com>2021-05-29 09:08:11 +0200
commit38dbe577972ed96133fab44f0f5d9a961fd7e1f7 (patch)
treec100df6aa459de10b6162ae8d446d26e9623d2ef /src/core
parentMerge pull request #6371 from degasus/drop_ExceptionalExit (diff)
parentFix two GCC 11 warnings: Unneeded copies. (diff)
downloadyuzu-38dbe577972ed96133fab44f0f5d9a961fd7e1f7.tar
yuzu-38dbe577972ed96133fab44f0f5d9a961fd7e1f7.tar.gz
yuzu-38dbe577972ed96133fab44f0f5d9a961fd7e1f7.tar.bz2
yuzu-38dbe577972ed96133fab44f0f5d9a961fd7e1f7.tar.lz
yuzu-38dbe577972ed96133fab44f0f5d9a961fd7e1f7.tar.xz
yuzu-38dbe577972ed96133fab44f0f5d9a961fd7e1f7.tar.zst
yuzu-38dbe577972ed96133fab44f0f5d9a961fd7e1f7.zip
Diffstat (limited to 'src/core')
-rw-r--r--src/core/hle/kernel/kernel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/kernel.cpp b/src/core/hle/kernel/kernel.cpp
index 8b55df82e..7ca2a2ef1 100644
--- a/src/core/hle/kernel/kernel.cpp
+++ b/src/core/hle/kernel/kernel.cpp
@@ -258,7 +258,7 @@ struct KernelCore::Impl {
KAutoObject::Create(thread.get());
ASSERT(KThread::InitializeDummyThread(thread.get()).IsSuccess());
thread->SetName(fmt::format("DummyThread:{}", GetHostThreadId()));
- return std::move(thread);
+ return thread;
};
thread_local auto thread = make_thread();