diff options
author | Lioncash <mathew1800@gmail.com> | 2021-04-07 07:44:30 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2021-04-07 07:45:04 +0200 |
commit | 1e964604bbad3657581ae5c50d71ed0decd29590 (patch) | |
tree | e6fc877b1f79013957438a6de650ef3b8e46e9d5 /src/core/hle/kernel | |
parent | k_scoped_lock: delete copy and move assignment operators (diff) | |
download | yuzu-1e964604bbad3657581ae5c50d71ed0decd29590.tar yuzu-1e964604bbad3657581ae5c50d71ed0decd29590.tar.gz yuzu-1e964604bbad3657581ae5c50d71ed0decd29590.tar.bz2 yuzu-1e964604bbad3657581ae5c50d71ed0decd29590.tar.lz yuzu-1e964604bbad3657581ae5c50d71ed0decd29590.tar.xz yuzu-1e964604bbad3657581ae5c50d71ed0decd29590.tar.zst yuzu-1e964604bbad3657581ae5c50d71ed0decd29590.zip |
Diffstat (limited to 'src/core/hle/kernel')
-rw-r--r-- | src/core/hle/kernel/k_scoped_scheduler_lock_and_sleep.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/k_scoped_scheduler_lock_and_sleep.h b/src/core/hle/kernel/k_scoped_scheduler_lock_and_sleep.h index f8189e107..4a35842c5 100644 --- a/src/core/hle/kernel/k_scoped_scheduler_lock_and_sleep.h +++ b/src/core/hle/kernel/k_scoped_scheduler_lock_and_sleep.h @@ -15,7 +15,7 @@ namespace Kernel { -class KScopedSchedulerLockAndSleep { +class [[nodiscard]] KScopedSchedulerLockAndSleep { public: explicit KScopedSchedulerLockAndSleep(KernelCore& kernel, KThread* t, s64 timeout) : kernel(kernel), thread(t), timeout_tick(timeout) { |