summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/svc.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-08-03 05:18:03 +0200
committerGitHub <noreply@github.com>2018-08-03 05:18:03 +0200
commit61ed68f3d04e91870d9cd8970e0dbd0a3beb3ed0 (patch)
tree9604696344c3410e3f4846880f27a1e573e269d7 /src/core/hle/kernel/svc.cpp
parentMerge pull request #903 from lioncash/copy (diff)
parentkernel/vm_manager: Convert loop into std::any_of() (diff)
downloadyuzu-61ed68f3d04e91870d9cd8970e0dbd0a3beb3ed0.tar
yuzu-61ed68f3d04e91870d9cd8970e0dbd0a3beb3ed0.tar.gz
yuzu-61ed68f3d04e91870d9cd8970e0dbd0a3beb3ed0.tar.bz2
yuzu-61ed68f3d04e91870d9cd8970e0dbd0a3beb3ed0.tar.lz
yuzu-61ed68f3d04e91870d9cd8970e0dbd0a3beb3ed0.tar.xz
yuzu-61ed68f3d04e91870d9cd8970e0dbd0a3beb3ed0.tar.zst
yuzu-61ed68f3d04e91870d9cd8970e0dbd0a3beb3ed0.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 d1cbbc1f2..5db2db687 100644
--- a/src/core/hle/kernel/svc.cpp
+++ b/src/core/hle/kernel/svc.cpp
@@ -267,7 +267,7 @@ static ResultCode GetInfo(u64* result, u64 info_id, u64 handle, u64 info_sub_id)
LOG_TRACE(Kernel_SVC, "called info_id=0x{:X}, info_sub_id=0x{:X}, handle=0x{:08X}", info_id,
info_sub_id, handle);
- auto& vm_manager = Core::CurrentProcess()->vm_manager;
+ const auto& vm_manager = Core::CurrentProcess()->vm_manager;
switch (static_cast<GetInfoType>(info_id)) {
case GetInfoType::AllowedCpuIdBitmask: