summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-08-15 07:31:23 +0200
committerGitHub <noreply@github.com>2020-08-15 07:31:23 +0200
commit2aabd1eb05b00ce4231a385bf8d7deb130d8f088 (patch)
tree1ea6f6e392dbef18c1231fe903ab8106fc5cac4f /src/core/hle/kernel
parentMerge pull request #4416 from lioncash/span (diff)
parentemu_window: Mark Scoped constructor and Acquire() as nodiscard (diff)
downloadyuzu-2aabd1eb05b00ce4231a385bf8d7deb130d8f088.tar
yuzu-2aabd1eb05b00ce4231a385bf8d7deb130d8f088.tar.gz
yuzu-2aabd1eb05b00ce4231a385bf8d7deb130d8f088.tar.bz2
yuzu-2aabd1eb05b00ce4231a385bf8d7deb130d8f088.tar.lz
yuzu-2aabd1eb05b00ce4231a385bf8d7deb130d8f088.tar.xz
yuzu-2aabd1eb05b00ce4231a385bf8d7deb130d8f088.tar.zst
yuzu-2aabd1eb05b00ce4231a385bf8d7deb130d8f088.zip
Diffstat (limited to 'src/core/hle/kernel')
-rw-r--r--src/core/hle/kernel/scheduler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/scheduler.h b/src/core/hle/kernel/scheduler.h
index b3b4b5169..36e3c26fb 100644
--- a/src/core/hle/kernel/scheduler.h
+++ b/src/core/hle/kernel/scheduler.h
@@ -289,7 +289,7 @@ private:
class SchedulerLock {
public:
- explicit SchedulerLock(KernelCore& kernel);
+ [[nodiscard]] explicit SchedulerLock(KernelCore& kernel);
~SchedulerLock();
protected: