summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/svc.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-10-30 03:48:59 +0100
committerGitHub <noreply@github.com>2018-10-30 03:48:59 +0100
commit938e45eb8304231b3b84193074f3d24bdc0928e3 (patch)
tree8e1938f6954fa00012a2060c31c07cf1eef47e6d /src/core/hle/kernel/svc.cpp
parentMerge pull request #1580 from FernandoS27/mm-impl (diff)
parentcore: Make System references const where applicable (diff)
downloadyuzu-938e45eb8304231b3b84193074f3d24bdc0928e3.tar
yuzu-938e45eb8304231b3b84193074f3d24bdc0928e3.tar.gz
yuzu-938e45eb8304231b3b84193074f3d24bdc0928e3.tar.bz2
yuzu-938e45eb8304231b3b84193074f3d24bdc0928e3.tar.lz
yuzu-938e45eb8304231b3b84193074f3d24bdc0928e3.tar.xz
yuzu-938e45eb8304231b3b84193074f3d24bdc0928e3.tar.zst
yuzu-938e45eb8304231b3b84193074f3d24bdc0928e3.zip
Diffstat (limited to 'src/core/hle/kernel/svc.cpp')
-rw-r--r--src/core/hle/kernel/svc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/svc.cpp b/src/core/hle/kernel/svc.cpp
index 4e490e2b5..c7c579aaf 100644
--- a/src/core/hle/kernel/svc.cpp
+++ b/src/core/hle/kernel/svc.cpp
@@ -572,7 +572,7 @@ static ResultCode GetInfo(u64* result, u64 info_id, u64 handle, u64 info_sub_id)
return ERR_INVALID_HANDLE;
}
- auto& system = Core::System::GetInstance();
+ const auto& system = Core::System::GetInstance();
const auto& scheduler = system.CurrentScheduler();
const auto* const current_thread = scheduler.GetCurrentThread();
const bool same_thread = current_thread == thread;