diff options
author | Lioncash <mathew1800@gmail.com> | 2021-04-07 01:19:26 -0400 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2021-04-07 01:19:29 -0400 |
commit | 97e2604575459da8787a20d511d3438ac95d9f1a (patch) | |
tree | 7d003ef0b7026c47f4e016b15b0f997750ed05c4 /src/yuzu/configuration/configure_cpu_debug.cpp | |
parent | 7feb490f83904c7a2724beb89cce20ec7292b07b (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/yuzu/configuration/configure_cpu_debug.cpp')
0 files changed, 0 insertions, 0 deletions