summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/kernel.cpp
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2023-07-19 23:14:55 +0200
committerGitHub <noreply@github.com>2023-07-19 23:14:55 +0200
commit014ca709c939512569abc7765b031b496c62a884 (patch)
treed43c24e639c9102e63c48a53ee3c8cefaee6f321 /src/core/hle/kernel/kernel.cpp
parentMerge pull request #11114 from Kelebek1/warnings (diff)
parentdemangle: Update to llvm/llvm-project@ecbc812e0cca (diff)
downloadyuzu-014ca709c939512569abc7765b031b496c62a884.tar
yuzu-014ca709c939512569abc7765b031b496c62a884.tar.gz
yuzu-014ca709c939512569abc7765b031b496c62a884.tar.bz2
yuzu-014ca709c939512569abc7765b031b496c62a884.tar.lz
yuzu-014ca709c939512569abc7765b031b496c62a884.tar.xz
yuzu-014ca709c939512569abc7765b031b496c62a884.tar.zst
yuzu-014ca709c939512569abc7765b031b496c62a884.zip
Diffstat (limited to 'src/core/hle/kernel/kernel.cpp')
-rw-r--r--src/core/hle/kernel/kernel.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/hle/kernel/kernel.cpp b/src/core/hle/kernel/kernel.cpp
index f33600ca5..ebe7582c6 100644
--- a/src/core/hle/kernel/kernel.cpp
+++ b/src/core/hle/kernel/kernel.cpp
@@ -1089,15 +1089,15 @@ static std::jthread RunHostThreadFunc(KernelCore& kernel, KProcess* process,
KThread::Register(kernel, thread);
return std::jthread(
- [&kernel, thread, thread_name{std::move(thread_name)}, func{std::move(func)}] {
+ [&kernel, thread, thread_name_{std::move(thread_name)}, func_{std::move(func)}] {
// Set the thread name.
- Common::SetCurrentThreadName(thread_name.c_str());
+ Common::SetCurrentThreadName(thread_name_.c_str());
// Set the thread as current.
kernel.RegisterHostThread(thread);
// Run the callback.
- func();
+ func_();
// Close the thread.
// This will free the process if it is the last reference.