summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2021-04-07 07:44:30 +0200
committerLioncash <mathew1800@gmail.com>2021-04-07 07:45:04 +0200
commit1e964604bbad3657581ae5c50d71ed0decd29590 (patch)
treee6fc877b1f79013957438a6de650ef3b8e46e9d5 /src/core/hle/kernel
parentk_scoped_lock: delete copy and move assignment operators (diff)
downloadyuzu-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.h2
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) {