diff options
author | Lioncash <mathew1800@gmail.com> | 2021-04-07 07:19:26 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2021-04-07 07:19:29 +0200 |
commit | 97e2604575459da8787a20d511d3438ac95d9f1a (patch) | |
tree | 7d003ef0b7026c47f4e016b15b0f997750ed05c4 /src/core | |
parent | Merge pull request #6141 from lat9nq/cfg_gphcs_stack_use (diff) | |
download | yuzu-97e2604575459da8787a20d511d3438ac95d9f1a.tar yuzu-97e2604575459da8787a20d511d3438ac95d9f1a.tar.gz yuzu-97e2604575459da8787a20d511d3438ac95d9f1a.tar.bz2 yuzu-97e2604575459da8787a20d511d3438ac95d9f1a.tar.lz yuzu-97e2604575459da8787a20d511d3438ac95d9f1a.tar.xz yuzu-97e2604575459da8787a20d511d3438ac95d9f1a.tar.zst yuzu-97e2604575459da8787a20d511d3438ac95d9f1a.zip |
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/hle/kernel/k_scheduler.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/k_scheduler.h b/src/core/hle/kernel/k_scheduler.h index f595b9a5c..01c8c4b73 100644 --- a/src/core/hle/kernel/k_scheduler.h +++ b/src/core/hle/kernel/k_scheduler.h @@ -198,7 +198,7 @@ private: Common::SpinLock guard{}; }; -class KScopedSchedulerLock : KScopedLock<GlobalSchedulerContext::LockType> { +class [[nodiscard]] KScopedSchedulerLock : KScopedLock<GlobalSchedulerContext::LockType> { public: explicit KScopedSchedulerLock(KernelCore& kernel); ~KScopedSchedulerLock(); |