aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/kernel.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2021-04-07 01:19:26 -0400
committerLioncash <mathew1800@gmail.com>2021-04-07 01:19:29 -0400
commitcd6ea98890b6975f411ad27223a6045615ea3991 (patch)
tree7d003ef0b7026c47f4e016b15b0f997750ed05c4 /src/core/hle/kernel/kernel.cpp
parent9bdff13849af07eef43b579d8e9d872b1ad805ff (diff)
k_scheduler: Mark KScopedSchedulerLock as [[nodiscard]]
Prevents logic bugs like: KScopedSchedulerLock{kernel}; instead of: KScopedSchedulerLock lk{kernel}; from slipping through.
Diffstat (limited to 'src/core/hle/kernel/kernel.cpp')
0 files changed, 0 insertions, 0 deletions