aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/svc.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-10-28 17:44:46 -0400
committerLioncash <mathew1800@gmail.com>2018-10-28 17:45:29 -0400
commit55233bbdd27a3c36317ea06c1fa6bf4abaa62294 (patch)
tree8e420102bf7f5963ebf000090ad608b0a5a83499 /src/core/hle/kernel/svc.cpp
parent9497f1d93fd02dbadb356142b7ede5e0b4d85ee3 (diff)
core: Make System references const where applicable
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 4e490e2b5d..c7c579aaf7 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;